debug
debug_traceBlockByNumber
Trace block by number
Traces every transaction in the block identified by number or tag. Available only on RPC endpoints with Reth archive node support.POST
https://eth.rpc.pinax.network/v1/<API_KEY>/
Available only on RPC endpoints with Reth archive node support.
Required parameters
| Name | Type | Description |
|---|---|---|
blockrequired | block | Block number (hex) or tag. e.g. latest |
Optional parameters
| Name | Type | Description |
|---|---|---|
tracerConfig | json | Optional tracer configuration. e.g. {"tracer":"callTracer","timeout":"30s"} |
Request body
{
"jsonrpc": "2.0",
"id": 1,
"method": "debug_traceBlockByNumber",
"params": [
"latest",
"{\"tracer\":\"callTracer\",\"timeout\":\"30s\"}"
]
}Response
200 OKArray of per-transaction trace results.
{ "jsonrpc": "2.0", "id": 1, "result": [ { "txHash": "0x88df01...", "result": { "type": "CALL", "gasUsed": "0x5208" } } ] }