debug_traceBlockByNumber - Ethereum
The debug_traceBlockByNumber method is part of the Ethereum JSON RPC Core API and is used for advanced debugging. This method provides a full trace of all invoked opcodes for all transactions.
Supported Networks
Parameters
Request Example
https://go.getblock.io/<ACCESS-TOKEN>/curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "debug_traceBlockByNumber",
"params": [
"0xA1",
{
"tracer": "callTracer"
}
],
"id": "getblock.io"
}'wscat -c wss://go.getblock.io/<ACCESS-TOKEN>/
# wait for connection and send the request body
{"jsonrpc": "2.0",
"method": "debug_traceBlockByNumber",
"params": ["0xA1", {"tracer": "callTracer"}],
"id": "getblock.io"}Response Example
Response Description
Returns
Use Case
Example Code
Last updated
Was this helpful?