Skip to main content

debug_traceBlockByHash

Returns the tracing result by executing all transactions in the block specified by the block hash with a tracer.

Parameters

block_hash*
Type: string
tracer*
Type: object { tracer: Tracer (enum: [callTracer | prestateTracer]), tracerConfig: TracerConfig (object { onlyTopCall: boolean, diffMode: boolean, withLog: boolean }) }

Returns

object

Properties (2 required)

📤 Request

curl --request POST \
     --url https://rpc-mainnet.monadinfra.com \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "debug_traceBlockByHash",
  "params": []
}
'