debug
debug_traceBlock
Trace RLP-encoded block
Traces every transaction in an RLP-encoded block body. 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 |
|---|---|---|
rlpBlockrequired | hex | RLP-encoded block payload. e.g. 0xf90211... |
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_traceBlock",
"params": [
"0xf90211...",
"{\"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" } } ] }