Skip to main content

debug_traceBlockByNumber

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

Parameters

block_number*
Type: oneOf: Quantity (hex) | string
tracer*
Type: object { tracer: Tracer (enum: [callTracer | prestateTracer]), onlyTopCall: boolean,null }

Returns

object

Properties (2 required)

📤 Request

curl --request POST \
     --url https://testnet-rpc.monad.xyz \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "debug_traceBlockByNumber",
  "params": []
}
'