debug_traceBlockByHash - Ethereum
The debug_traceBlockByHash method is part of the Ethereum JSON RPC Core API, designed for advanced debugging.
Supported Networks
Parameters
Request
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_traceBlockByHash",
"params": [
"0x2dfcd01e308905d7a46187745f5e07606e31682c8443a171bb47ce3d399b5049",
null
],
"id": "getblock.io"
}'wscat -c wss://go.getblock.io/<ACCESS-TOKEN>/
# wait for connection and send the request body
{"jsonrpc": "2.0",
"method": "debug_traceBlockByHash",
"params": ["0x2dfcd01e308905d7a46187745f5e07606e31682c8443a171bb47ce3d399b5049", null],
"id": "getblock.io"}Response
Response Description
Returns
Use Case
Example Code
Last updated
Was this helpful?