debug_traceBlockByHash RPC Method
This RPC method is included in the Free Trial with limited usage. Upgrade your plan to get full access and higher limits. Learn more onĀ our pricing page.
Parameters
blockHash
string
REQUIRED
Loading...
object
object
REQUIRED
Loading...
tracer
string
Loading...
callTracer
string
Loading...
prestateTracer
string
Loading...
tracerConfig
object
Loading...
onlyTopCall
boolean
Loading...
Returns
result
object
Loading...
txHash
string
Loading...
result
object
Loading...
from
string
Loading...
gas
string
Loading...
gasUsed
string
Loading...
to
string
Loading...
input
string
Loading...
calls
string
Loading...
from
string
Loading...
gas
string
Loading...
gasUsed
string
Loading...
to
string
Loading...
input
string
Loading...
output
string
Loading...
value
string
Loading...
type
string
Loading...
value
string
Loading...
type
string
Loading...
Request
1curl -X POST "https://serene-dimensional-pond.megaeth-mainnet.quiknode.pro/80124aa304bf15f6805f845e62ad343653949e95/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "debug_traceBlockByHash",6"params": [7"0xb851bd3df47af166dd39c7b54d0effe9174f2202e46dac92cae0098abc116517",8{9"tracer": "callTracer"10}11],12"id": 113}'
1curl -X POST "https://serene-dimensional-pond.megaeth-mainnet.quiknode.pro/80124aa304bf15f6805f845e62ad343653949e95/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "debug_traceBlockByHash",6"params": [7"0xb851bd3df47af166dd39c7b54d0effe9174f2202e46dac92cae0098abc116517",8{9"tracer": "callTracer"10}11],12"id": 113}'
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"result": {7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"gas": "0x5f5e100",9"gasUsed": "0x18d5c",10"to": "0x4200000000000000000000000000000000000015",11"input": "0x098999be000005580000000000000000000000b0000000006980afd7000000000173da0700000000000000000000000000000000000000000000000000000000297fe0b400000000000000000000000000000000000000000000000008c6083ea1d86a98f3cf03142457e0b9b32f2eea471a10466b5ef8abc05ed1d002fbbc81d2b1f3e1000000000000000000000000b98c6b1a805b96707a43e1f1acfa163b68098fa6000000000000000000000000",12"calls": [13{14"from": "0x4200000000000000000000000000000000000015",15"gas": "0x5d61e4f",16"gasUsed": "0x4889",17"to": "0xc0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d30015",18"input": "0x098999be000005580000000000000000000000b0000000006980afd7000000000173da0700000000000000000000000000000000000000000000000000000000297fe0b400000000000000000000000000000000000000000000000008c6083ea1d86a98f3cf03142457e0b9b32f2eea471a10466b5ef8abc05ed1d002fbbc81d2b1f3e1000000000000000000000000b98c6b1a805b96707a43e1f1acfa163b68098fa6000000000000000000000000",19"value": "0x0",20"type": "DELEGATECALL"21}22],23"value": "0x0",24"type": "CALL"25},26"txHash": "0x6eac46de7abaf4079fae382032f670261d68637a9c5b5c515b66f1c5c302a475"27},28{29"result": {30"from": "0x80a7db0c2be819afa7c2755f02c8265f157cbdf6",31"gas": "0x1b7740",32"gasUsed": "0x8d8b0",33"to": "0x897a33a0af45b3ba097bd6045187d622252e6acd",34"input": "0x9aec351f000000000000000000000000000000000000000000000000000649d7fe639bac0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000955534454000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005f45e4855534443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005f56bae455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a23e3d514254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007119275f57658525000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009b3ce41534f4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000026514f570424e42000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011c74fa7e4444f4745000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a19f0041444100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c3d2a0",35"calls": [36{37"from": "0x897a33a0af45b3ba097bd6045187d622252e6acd",38"gas": "0x194df1",39"gasUsed": "0x7336e",40"to": "0x0c6c73865429e1d87b7b817b95bb1f38f2136529",41"input": "0x9aec351f000000000000000000000000000000000000000000000000000649d7fe639bac0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000955534454000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005f45e4855534443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005f56bae455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a23e3d514254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007119275f57658525000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009b3ce41534f4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000026514f570424e42000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011c74fa7e4444f4745000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a19f0041444100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c3d2a0",42"calls": [43{44"from": "0x897a33a0af45b3ba097bd6045187d622252e6acd",45"gas": "0x18bf8c",46"gasUsed": "0x1669",47"to": "0x6342000000000000000000000000000000000002",48"input": "0xb80777ea",49"output": "0x000000000000000000000000000000000000000000000000000649d7fe645963",50"calls": [51{52"from": "0x6342000000000000000000000000000000000002",53"gas": "0x1834e6",54"gasUsed": "0x93f",55"to": "0x6342000000000000000000000000000000000001",56"input": "0x7eba7ba60000000000000000000000000000000000000000000000000000000000000000",57"output": "0x000000000000000000000000000000000000000000000000000649d7fe645963",58"type": "STATICCALL"59}60],61"type": "STATICCALL"62}63],64"value": "0x0",65"type": "DELEGATECALL"66}67],68"value": "0x0",69"type": "CALL"70},71"txHash": "0x06b1377c8867174f7eaa6d3dbc399fb762afe5d8f9539a342713515a9088cb05"72}73]74}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"result": {7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"gas": "0x5f5e100",9"gasUsed": "0x18d5c",10"to": "0x4200000000000000000000000000000000000015",11"input": "0x098999be000005580000000000000000000000b0000000006980afd7000000000173da0700000000000000000000000000000000000000000000000000000000297fe0b400000000000000000000000000000000000000000000000008c6083ea1d86a98f3cf03142457e0b9b32f2eea471a10466b5ef8abc05ed1d002fbbc81d2b1f3e1000000000000000000000000b98c6b1a805b96707a43e1f1acfa163b68098fa6000000000000000000000000",12"calls": [13{14"from": "0x4200000000000000000000000000000000000015",15"gas": "0x5d61e4f",16"gasUsed": "0x4889",17"to": "0xc0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d30015",18"input": "0x098999be000005580000000000000000000000b0000000006980afd7000000000173da0700000000000000000000000000000000000000000000000000000000297fe0b400000000000000000000000000000000000000000000000008c6083ea1d86a98f3cf03142457e0b9b32f2eea471a10466b5ef8abc05ed1d002fbbc81d2b1f3e1000000000000000000000000b98c6b1a805b96707a43e1f1acfa163b68098fa6000000000000000000000000",19"value": "0x0",20"type": "DELEGATECALL"21}22],23"value": "0x0",24"type": "CALL"25},26"txHash": "0x6eac46de7abaf4079fae382032f670261d68637a9c5b5c515b66f1c5c302a475"27},28{29"result": {30"from": "0x80a7db0c2be819afa7c2755f02c8265f157cbdf6",31"gas": "0x1b7740",32"gasUsed": "0x8d8b0",33"to": "0x897a33a0af45b3ba097bd6045187d622252e6acd",34"input": "0x9aec351f000000000000000000000000000000000000000000000000000649d7fe639bac0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000955534454000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005f45e4855534443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005f56bae455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a23e3d514254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007119275f57658525000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009b3ce41534f4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000026514f570424e42000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011c74fa7e4444f4745000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a19f0041444100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c3d2a0",35"calls": [36{37"from": "0x897a33a0af45b3ba097bd6045187d622252e6acd",38"gas": "0x194df1",39"gasUsed": "0x7336e",40"to": "0x0c6c73865429e1d87b7b817b95bb1f38f2136529",41"input": "0x9aec351f000000000000000000000000000000000000000000000000000649d7fe639bac0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000955534454000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005f45e4855534443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005f56bae455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a23e3d514254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007119275f57658525000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009b3ce41534f4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000026514f570424e42000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011c74fa7e4444f4745000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a19f0041444100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c3d2a0",42"calls": [43{44"from": "0x897a33a0af45b3ba097bd6045187d622252e6acd",45"gas": "0x18bf8c",46"gasUsed": "0x1669",47"to": "0x6342000000000000000000000000000000000002",48"input": "0xb80777ea",49"output": "0x000000000000000000000000000000000000000000000000000649d7fe645963",50"calls": [51{52"from": "0x6342000000000000000000000000000000000002",53"gas": "0x1834e6",54"gasUsed": "0x93f",55"to": "0x6342000000000000000000000000000000000001",56"input": "0x7eba7ba60000000000000000000000000000000000000000000000000000000000000000",57"output": "0x000000000000000000000000000000000000000000000000000649d7fe645963",58"type": "STATICCALL"59}60],61"type": "STATICCALL"62}63],64"value": "0x0",65"type": "DELEGATECALL"66}67],68"value": "0x0",69"type": "CALL"70},71"txHash": "0x06b1377c8867174f7eaa6d3dbc399fb762afe5d8f9539a342713515a9088cb05"72}73]74}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free