Skip to main content

debug_traceBlockByHash RPC Method

Loading...

Updated on
Feb 24, 2026

debug_traceBlockByHash RPC Method

Please note that this RPC method is available to all users on the Growth plan and higher. If you are using the Free or Starter plan, you will need to upgrade to utilize this method. See our pricing for more information.

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
object
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
1
curl -X POST "https://docs-demo.linea-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "debug_traceBlockByHash",
6
"params": [
7
"0x3efeffd571d944e1dac62634711c39ef842206499a09cd618fe9ac1db6f12ce9",
8
{
9
"tracer": "callTracer",
10
"tracerConfig": {
11
"onlyTopCall": false
12
}
13
}
14
],
15
"id": 1
16
}'
1
curl -X POST "https://docs-demo.linea-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "debug_traceBlockByHash",
6
"params": [
7
"0x3efeffd571d944e1dac62634711c39ef842206499a09cd618fe9ac1db6f12ce9",
8
{
9
"tracer": "callTracer",
10
"tracerConfig": {
11
"onlyTopCall": false
12
}
13
}
14
],
15
"id": 1
16
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"txHash": "0x917d0ccbe796c7dfe9452a24c6845d3300052b60cc69d821192928b964abdb4c",
7
"result": {
8
"calls": [
9
{
10
"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
11
"gas": "0x1a4fcb",
12
"gasUsed": "0xbb8",
13
"input": "0x25158f57c0e61261d784b45636efc8a64ea2527bdf93465167f1a3b279f937f0000000000000000000000000000000000000000000000000000000000000001b08ce204608b925efc48ecdb5936c3cb4bbc0b53f880699fed9037f9f7830fc0d6a69b060f0126d9ba6c4e7e201e5eeb5dd4dec22c68adaba620af7b9a4080219",
14
"output": "0x0000000000000000000000000d099360a069359fe7c9503ab44cbcb9eb2a7466",
15
"to": "0x0000000000000000000000000000000000000001",
16
"type": "STATICCALL"
17
},
18
{
19
"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
20
"gas": "0x1a3609",
21
"gasUsed": "0xbb8",
22
"input": "0x25158f57c0e61261d784b45636efc8a64ea2527bdf93465167f1a3b279f937f0000000000000000000000000000000000000000000000000000000000000001b38c29d578b422f7e3d579c0831772c6c4d139e043a4215884690c2ec7f4304e53b0b8f54ebbf439451a6dbbc831a5d7493a80478a8c49a1d6d1ec3311d547ac0",
23
"output": "0x000000000000000000000000ddbdc840164da20bcf6aa85c3957396c14642ab1",
24
"to": "0x0000000000000000000000000000000000000001",
25
"type": "STATICCALL"
26
}
27
],
28
"from": "0x21c3de23d98caddc406e3d31b25e807addf33633",
29
"gas": "0x1b40d0",
30
"gasUsed": "0x12916",
31
"input": "0xb143044b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000038de71124f7a447a01d67945a51edce9ff49125100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006552568500000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000084704316e5000000000000000000000000000000000000000000000000000000000000006f4c74df74eefaa75eaf959507c071430f4f27642949543e96e6cba4e7e6d8894c00000000000000000000000000000000000000000000000000000000000000144c74df74eefaa75eaf959507c071430f4f27642949543e96e6cba4e7e6d8894c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008208ce204608b925efc48ecdb5936c3cb4bbc0b53f880699fed9037f9f7830fc0d6a69b060f0126d9ba6c4e7e201e5eeb5dd4dec22c68adaba620af7b9a40802191b38c29d578b422f7e3d579c0831772c6c4d139e043a4215884690c2ec7f4304e53b0b8f54ebbf439451a6dbbc831a5d7493a80478a8c49a1d6d1ec3311d547ac01b000000000000000000000000000000000000000000000000000000000000",
32
"to": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
33
"type": "CALL",
34
"value": "0x0"
35
}
36
},
37
{
38
"txHash": "0xc15a19fd1e57df6b46ce9942fbcb8748ed9c8cfade34d36c3968c73f25e222f3",
39
"result": {
40
"calls": [
41
{
42
"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
43
"gas": "0x1a4fcb",
44
"gasUsed": "0xbb8",
45
"input": "0xfcaa7cbf19c64474e3ccd2a17bbd14b1df10c0a0a0190135ece0d283b655c3b1000000000000000000000000000000000000000000000000000000000000001bff38d1c8194b91dc7583b92e71f24392fecf39f7ccf437d2371cbe489c29a43e2886fbd902fb76fb7a8146a7af278ac99505407bf64d9b2ecc64805903dac164",
46
"output": "0x0000000000000000000000000d099360a069359fe7c9503ab44cbcb9eb2a7466",
47
"to": "0x0000000000000000000000000000000000000001",
48
"type": "STATICCALL"
49
},
50
{
51
"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
52
"gas": "0x1a3609",
53
"gasUsed": "0xbb8",
54
"input": "0xfcaa7cbf19c64474e3ccd2a17bbd14b1df10c0a0a0190135ece0d283b655c3b1000000000000000000000000000000000000000000000000000000000000001b99da0f57306966ca072add7ccf787b7013a22b901217e0d713285db53fcf0492596e5bc662ec0d092ab3874b810b9887e914743ebb857cb5d8d1ed26f48b0a79",
55
"output": "0x000000000000000000000000ddbdc840164da20bcf6aa85c3957396c14642ab1",
56
"to": "0x0000000000000000000000000000000000000001",
57
"type": "STATICCALL"
58
}
59
],
60
"from": "0x21c3de23d98caddc406e3d31b25e807addf33633",
61
"gas": "0x1b40d0",
62
"gasUsed": "0x12916",
63
"input": "0xb143044b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000038de71124f7a447a01d67945a51edce9ff49125100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006552568500000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000084704316e500000000000000000000000000000000000000000000000000000000000000b8675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000a675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082ff38d1c8194b91dc7583b92e71f24392fecf39f7ccf437d2371cbe489c29a43e2886fbd902fb76fb7a8146a7af278ac99505407bf64d9b2ecc64805903dac1641b99da0f57306966ca072add7ccf787b7013a22b901217e0d713285db53fcf0492596e5bc662ec0d092ab3874b810b9887e914743ebb857cb5d8d1ed26f48b0a791b000000000000000000000000000000000000000000000000000000000000",
64
"to": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
65
"type": "CALL",
66
"value": "0x0"
67
}
68
},
69
{
70
"txHash": "0x53307c81a5688bc7f3d75551007715cd526fa6dfa0611e8aee8897eb21d6ffdc",
71
"result": {
72
"calls": [
73
{
74
"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
75
"gas": "0x1a4fcb",
76
"gasUsed": "0xbb8",
77
"input": "0xc56cda0f433ea280979fd3d25db6be2afb7660553be619ef556f6be47b205ac9000000000000000000000000000000000000000000000000000000000000001cd79625b893460f19fa2b6d1da3662ea1e61d3c6005a79bf525d75b5a9192895964abfd9c073e137a45e9b77cae03f87096778326118af2f60cc80882d9896786",
78
"output": "0x0000000000000000000000000d099360a069359fe7c9503ab44cbcb9eb2a7466",
79
"to": "0x0000000000000000000000000000000000000001",
80
"type": "STATICCALL"
81
},
82
{
83
"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
84
"gas": "0x1a3609",
85
"gasUsed": "0xbb8",
86
"input": "0xc56cda0f433ea280979fd3d25db6be2afb7660553be619ef556f6be47b205ac9000000000000000000000000000000000000000000000000000000000000001cb7dacc9ed2ddb34a68b151c620dd3ba581eb18dd272f67547068274b095a92661d5317d56798065d99e7b16828a9de3a23f5d985bfef265959fd963598a9759e",
87
"output": "0x000000000000000000000000ddbdc840164da20bcf6aa85c3957396c14642ab1",
88
"to": "0x0000000000000000000000000000000000000001",
89
"type": "STATICCALL"
90
}
91
],
92
"from": "0x21c3de23d98caddc406e3d31b25e807addf33633",
93
"gas": "0x1b40d0",
94
"gasUsed": "0x12916",
95
"input": "0xb143044b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000038de71124f7a447a01d67945a51edce9ff49125100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006552568500000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000084704316e500000000000000000000000000000000000000000000000000000000000000b832ffb7fd047877b0b554fcd1855b2af83b35fe350a302343b3900994664203f6000000000000000000000000000000000000000000000000000000000000000a32ffb7fd047877b0b554fcd1855b2af83b35fe350a302343b3900994664203f6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082d79625b893460f19fa2b6d1da3662ea1e61d3c6005a79bf525d75b5a9192895964abfd9c073e137a45e9b77cae03f87096778326118af2f60cc80882d98967861cb7dacc9ed2ddb34a68b151c620dd3ba581eb18dd272f67547068274b095a92661d5317d56798065d99e7b16828a9de3a23f5d985bfef265959fd963598a9759e1c000000000000000000000000000000000000000000000000000000000000",
96
"to": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
97
"type": "CALL",
98
"value": "0x0"
99
}
100
}
101
]
102
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"txHash": "0x917d0ccbe796c7dfe9452a24c6845d3300052b60cc69d821192928b964abdb4c",
7
"result": {
8
"calls": [
9
{
10
"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
11
"gas": "0x1a4fcb",
12
"gasUsed": "0xbb8",
13
"input": "0x25158f57c0e61261d784b45636efc8a64ea2527bdf93465167f1a3b279f937f0000000000000000000000000000000000000000000000000000000000000001b08ce204608b925efc48ecdb5936c3cb4bbc0b53f880699fed9037f9f7830fc0d6a69b060f0126d9ba6c4e7e201e5eeb5dd4dec22c68adaba620af7b9a4080219",
14
"output": "0x0000000000000000000000000d099360a069359fe7c9503ab44cbcb9eb2a7466",
15
"to": "0x0000000000000000000000000000000000000001",
16
"type": "STATICCALL"
17
},
18
{
19
"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
20
"gas": "0x1a3609",
21
"gasUsed": "0xbb8",
22
"input": "0x25158f57c0e61261d784b45636efc8a64ea2527bdf93465167f1a3b279f937f0000000000000000000000000000000000000000000000000000000000000001b38c29d578b422f7e3d579c0831772c6c4d139e043a4215884690c2ec7f4304e53b0b8f54ebbf439451a6dbbc831a5d7493a80478a8c49a1d6d1ec3311d547ac0",
23
"output": "0x000000000000000000000000ddbdc840164da20bcf6aa85c3957396c14642ab1",
24
"to": "0x0000000000000000000000000000000000000001",
25
"type": "STATICCALL"
26
}
27
],
28
"from": "0x21c3de23d98caddc406e3d31b25e807addf33633",
29
"gas": "0x1b40d0",
30
"gasUsed": "0x12916",
31
"input": "0xb143044b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000038de71124f7a447a01d67945a51edce9ff49125100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006552568500000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000084704316e5000000000000000000000000000000000000000000000000000000000000006f4c74df74eefaa75eaf959507c071430f4f27642949543e96e6cba4e7e6d8894c00000000000000000000000000000000000000000000000000000000000000144c74df74eefaa75eaf959507c071430f4f27642949543e96e6cba4e7e6d8894c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008208ce204608b925efc48ecdb5936c3cb4bbc0b53f880699fed9037f9f7830fc0d6a69b060f0126d9ba6c4e7e201e5eeb5dd4dec22c68adaba620af7b9a40802191b38c29d578b422f7e3d579c0831772c6c4d139e043a4215884690c2ec7f4304e53b0b8f54ebbf439451a6dbbc831a5d7493a80478a8c49a1d6d1ec3311d547ac01b000000000000000000000000000000000000000000000000000000000000",
32
"to": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
33
"type": "CALL",
34
"value": "0x0"
35
}
36
},
37
{
38
"txHash": "0xc15a19fd1e57df6b46ce9942fbcb8748ed9c8cfade34d36c3968c73f25e222f3",
39
"result": {
40
"calls": [
41
{
42
"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
43
"gas": "0x1a4fcb",
44
"gasUsed": "0xbb8",
45
"input": "0xfcaa7cbf19c64474e3ccd2a17bbd14b1df10c0a0a0190135ece0d283b655c3b1000000000000000000000000000000000000000000000000000000000000001bff38d1c8194b91dc7583b92e71f24392fecf39f7ccf437d2371cbe489c29a43e2886fbd902fb76fb7a8146a7af278ac99505407bf64d9b2ecc64805903dac164",
46
"output": "0x0000000000000000000000000d099360a069359fe7c9503ab44cbcb9eb2a7466",
47
"to": "0x0000000000000000000000000000000000000001",
48
"type": "STATICCALL"
49
},
50
{
51
"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
52
"gas": "0x1a3609",
53
"gasUsed": "0xbb8",
54
"input": "0xfcaa7cbf19c64474e3ccd2a17bbd14b1df10c0a0a0190135ece0d283b655c3b1000000000000000000000000000000000000000000000000000000000000001b99da0f57306966ca072add7ccf787b7013a22b901217e0d713285db53fcf0492596e5bc662ec0d092ab3874b810b9887e914743ebb857cb5d8d1ed26f48b0a79",
55
"output": "0x000000000000000000000000ddbdc840164da20bcf6aa85c3957396c14642ab1",
56
"to": "0x0000000000000000000000000000000000000001",
57
"type": "STATICCALL"
58
}
59
],
60
"from": "0x21c3de23d98caddc406e3d31b25e807addf33633",
61
"gas": "0x1b40d0",
62
"gasUsed": "0x12916",
63
"input": "0xb143044b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000038de71124f7a447a01d67945a51edce9ff49125100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006552568500000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000084704316e500000000000000000000000000000000000000000000000000000000000000b8675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000a675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082ff38d1c8194b91dc7583b92e71f24392fecf39f7ccf437d2371cbe489c29a43e2886fbd902fb76fb7a8146a7af278ac99505407bf64d9b2ecc64805903dac1641b99da0f57306966ca072add7ccf787b7013a22b901217e0d713285db53fcf0492596e5bc662ec0d092ab3874b810b9887e914743ebb857cb5d8d1ed26f48b0a791b000000000000000000000000000000000000000000000000000000000000",
64
"to": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
65
"type": "CALL",
66
"value": "0x0"
67
}
68
},
69
{
70
"txHash": "0x53307c81a5688bc7f3d75551007715cd526fa6dfa0611e8aee8897eb21d6ffdc",
71
"result": {
72
"calls": [
73
{
74
"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
75
"gas": "0x1a4fcb",
76
"gasUsed": "0xbb8",
77
"input": "0xc56cda0f433ea280979fd3d25db6be2afb7660553be619ef556f6be47b205ac9000000000000000000000000000000000000000000000000000000000000001cd79625b893460f19fa2b6d1da3662ea1e61d3c6005a79bf525d75b5a9192895964abfd9c073e137a45e9b77cae03f87096778326118af2f60cc80882d9896786",
78
"output": "0x0000000000000000000000000d099360a069359fe7c9503ab44cbcb9eb2a7466",
79
"to": "0x0000000000000000000000000000000000000001",
80
"type": "STATICCALL"
81
},
82
{
83
"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
84
"gas": "0x1a3609",
85
"gasUsed": "0xbb8",
86
"input": "0xc56cda0f433ea280979fd3d25db6be2afb7660553be619ef556f6be47b205ac9000000000000000000000000000000000000000000000000000000000000001cb7dacc9ed2ddb34a68b151c620dd3ba581eb18dd272f67547068274b095a92661d5317d56798065d99e7b16828a9de3a23f5d985bfef265959fd963598a9759e",
87
"output": "0x000000000000000000000000ddbdc840164da20bcf6aa85c3957396c14642ab1",
88
"to": "0x0000000000000000000000000000000000000001",
89
"type": "STATICCALL"
90
}
91
],
92
"from": "0x21c3de23d98caddc406e3d31b25e807addf33633",
93
"gas": "0x1b40d0",
94
"gasUsed": "0x12916",
95
"input": "0xb143044b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000038de71124f7a447a01d67945a51edce9ff49125100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006552568500000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000084704316e500000000000000000000000000000000000000000000000000000000000000b832ffb7fd047877b0b554fcd1855b2af83b35fe350a302343b3900994664203f6000000000000000000000000000000000000000000000000000000000000000a32ffb7fd047877b0b554fcd1855b2af83b35fe350a302343b3900994664203f6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082d79625b893460f19fa2b6d1da3662ea1e61d3c6005a79bf525d75b5a9192895964abfd9c073e137a45e9b77cae03f87096778326118af2f60cc80882d98967861cb7dacc9ed2ddb34a68b151c620dd3ba581eb18dd272f67547068274b095a92661d5317d56798065d99e7b16828a9de3a23f5d985bfef265959fd963598a9759e1c000000000000000000000000000000000000000000000000000000000000",
96
"to": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",
97
"type": "CALL",
98
"value": "0x0"
99
}
100
}
101
]
102
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free