debug_traceBlockByNumber 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
quantity or Tag
Integer block number, or the string 'latest', 'earliest' or 'pending', see the default block parameter.
Returns
This method returns nothing
Request
1curl 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_traceBlockByNumber","params":["0xccde12", {"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