Skip to main content

debug_traceBlockByHash RPC Method

Replay the block that is already present in the database (Trace Mode required). The API credit value for this method is 14.

Updated on
Aug 18, 2023

debug_traceBlockByHash RPC Method

Please note that this RPC method is available by default for all Build & Scale plans. If you are using the Discover plan, you will need to upgrade to a paid plan to utilize this method. See our pricing for more information.

Parameters

hash
Hash of the block to be traced.

Returns

This method returns nothing
Request
1
curl https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/bc/C/rpc \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"debug_traceBlockByHash","params":["0x3e56c97d34f03b1369c351fa6c9f57c8bfa987c7da40964fab981303e0ef5849", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free