Skip to main content

debug_traceBlockByHash RPC Method

Loading...

Updated on
Feb 03, 2026

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

type
Loading...
from
Loading...
to
Loading...
value
Loading...
gas
Loading...
gasUsed
Loading...
input
Loading...
output
Loading...
calls
Loading...
Request
1
curl -X POST "https://docs-demo.celo-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "debug_traceBlockByHash",
6
"params": [
7
"0xf58e4702ceb7dd37bece54fc12c41144c123bcfc9ec80634110b836120ade52c",
8
{
9
"tracer": "callTracer"
10
}
11
],
12
"id": 1
13
}'
1
curl -X POST "https://docs-demo.celo-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "debug_traceBlockByHash",
6
"params": [
7
"0xf58e4702ceb7dd37bece54fc12c41144c123bcfc9ec80634110b836120ade52c",
8
{
9
"tracer": "callTracer"
10
}
11
],
12
"id": 1
13
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"txHash": "0x00596ed5691787efdb7ff6497decbdc27197ab1cfa10eb6c363301bd80373f3d",
7
"result": {
8
"from": "0x8da076dd15589f9cf321fe8e4c8e6f46d0a2830a",
9
"gas": "0x2b04",
10
"gasUsed": "0x88e",
11
"input": "0x91b7f5ed00000000000000000000000000000000000000000000000000000000000000bd",
12
"output": "0x",
13
"to": "0xedb72ffab263f041564afb210a263c389418b619",
14
"type": "CALL",
15
"value": "0x0"
16
}
17
},
18
{
19
"txHash": "0x198130233e07155e09d84b6eb2e7e6b64cd9ab91eb3dd98b7e3b1776cd22a539",
20
"result": {
21
"calls": [
22
{
23
"from": "0x765de816845861e75a25fca122bb6898b8b1282a",
24
"gas": "0x10161",
25
"gasUsed": "0x2a49",
26
"input": "0x3950935100000000000000000000000067316300f17f063085ca8bca4bd3f7a5a3c6627500000000000000000000000000000000000000000000000340aad21b3b700000",
27
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
28
"to": "0x18e6bfdc909063f7445e410a5495264619495bcb",
29
"type": "DELEGATECALL"
30
}
31
],
32
"from": "0xd334c118a49565538dc4b97ad637947507b1a45c",
33
"gas": "0x10e94",
34
"gasUsed": "0x33af",
35
"input": "0x3950935100000000000000000000000067316300f17f063085ca8bca4bd3f7a5a3c6627500000000000000000000000000000000000000000000000340aad21b3b700000",
36
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
37
"to": "0x765de816845861e75a25fca122bb6898b8b1282a",
38
"type": "CALL",
39
"value": "0x0"
40
}
41
},
42
{
43
"txHash": "0x9931425daad082741d6356d3e760d0883e979aa77c87febd382c8c8722c221ba",
44
"result": {
45
"calls": [
46
{
47
"calls": [
48
{
49
"from": "0xe3d8bd6aed4f159bc8000a9cd47cffdb95f96121",
50
"gas": "0xdd951",
51
"gasUsed": "0x4b4",
52
"input": "0x0902f1ac",
53
"output": "0x0000000000000000000000000000000000000000000007024465eb44b36352560000000000000000000000000000000000000000000004ec1b66a4f5d1c5be23000000000000000000000000000000000000000000000000000000006357a000",
54
"to": "0x1e593f1fe7b61c53874b54ec0c59fd0d5eb8621e",
55
"type": "STATICCALL"
56
}
57
],
58
"from": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",
59
"gas": "0xe1db4",
60
"gasUsed": "0x1645",
61
"input": "0xd06ca61f00000000000000000000000000000000000000000000000bed1d0263d9f0000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000471ece3750da237f93b8e339c536989b8978a438000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a",
62
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000bed1d0263d9f000000000000000000000000000000000000000000000000000084baf1250ce876a77",
63
"to": "0xe3d8bd6aed4f159bc8000a9cd47cffdb95f96121",
64
"type": "STATICCALL"
65
},
66
{
67
"calls": [
68
{
69
"from": "0x1421bde4b10e8dd459b3bcb598810b1337d56842",
70
"gas": "0xdb660",
71
"gasUsed": "0x4c1",
72
"input": "0x0902f1ac",
73
"output": "0x0000000000000000000000000000000000000000000000028941a76e748dadef000000000000000000000000000000000000000000000d59c26abdac8768640b000000000000000000000000000000000000000000000000000000006357a0eb",
74
"to": "0x93887e0fa9f6c375b2765a6fe885593f16f077f9",
75
"type": "STATICCALL"
76
},
77
{
78
"from": "0x1421bde4b10e8dd459b3bcb598810b1337d56842",
79
"gas": "0xda520",
80
"gasUsed": "0x4c1",
81
"input": "0x0902f1ac",
82
"output": "0x0000000000000000000000000000000000000000000000059107c4a2940f59890000000000000000000000000000000000000000000029a4d876a7a89f908f6d000000000000000000000000000000000000000000000000000000006357a118",
83
"to": "0x517f717f0ae11efc2af8943071b66d77dfafc9fc",
84
"type": "STATICCALL"
85
}
86
],
87
"from": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",
88
"gas": "0xdfa89",
89
"gasUsed": "0x287e",
90
"input": "0xd06ca61f0000000000000000000000000000000000000000000000084baf1250ce876a7700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000122013fd7df1c6f636a5bb8f03108e876548b455000000000000000000000000471ece3750da237f93b8e339c536989b8978a438",
91
"output": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000084baf1250ce876a7700000000000000000000000000000000000000000000000001913ed5db77c7a300000000000000000000000000000000000000000000000bad7cf9755654ea0e",
92
"to": "0x1421bde4b10e8dd459b3bcb598810b1337d56842",
93
"type": "STATICCALL"
94
}
95
],
96
"from": "0x256c334185c9b32d843dd8db5e58d56a760993d3",
97
"gas": "0xe803e",
98
"gasUsed": "0x7abd",
99
"input": "0xe5546f3700000000000000000000000000000000000000000000000bed1d0263d9f00000000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000471ece3750da237f93b8e339c536989b8978a43800000000000000000000000062d5b84be28a183abb507e125b384122d2c25fae000000000000000000000000e3d8bd6aed4f159bc8000a9cd47cffdb95f961210000000000000000000000001421bde4b10e8dd459b3bcb598810b1337d56842000000000000000000000000055aec00dc22bfca3f2acf092148bddf218e1ac7000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000256c334185c9b32d843dd8db5e58d56a760993d30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000122013fd7df1c6f636a5bb8f03108e876548b455000000000000000000000000471ece3750da237f93b8e339c536989b8978a438",
100
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000b616d6f6f756e74206e6f31000000000000000000000000000000000000000000",
101
"to": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",
102
"type": "CALL",
103
"value": "0x0"
104
}
105
}
106
]
107
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"txHash": "0x00596ed5691787efdb7ff6497decbdc27197ab1cfa10eb6c363301bd80373f3d",
7
"result": {
8
"from": "0x8da076dd15589f9cf321fe8e4c8e6f46d0a2830a",
9
"gas": "0x2b04",
10
"gasUsed": "0x88e",
11
"input": "0x91b7f5ed00000000000000000000000000000000000000000000000000000000000000bd",
12
"output": "0x",
13
"to": "0xedb72ffab263f041564afb210a263c389418b619",
14
"type": "CALL",
15
"value": "0x0"
16
}
17
},
18
{
19
"txHash": "0x198130233e07155e09d84b6eb2e7e6b64cd9ab91eb3dd98b7e3b1776cd22a539",
20
"result": {
21
"calls": [
22
{
23
"from": "0x765de816845861e75a25fca122bb6898b8b1282a",
24
"gas": "0x10161",
25
"gasUsed": "0x2a49",
26
"input": "0x3950935100000000000000000000000067316300f17f063085ca8bca4bd3f7a5a3c6627500000000000000000000000000000000000000000000000340aad21b3b700000",
27
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
28
"to": "0x18e6bfdc909063f7445e410a5495264619495bcb",
29
"type": "DELEGATECALL"
30
}
31
],
32
"from": "0xd334c118a49565538dc4b97ad637947507b1a45c",
33
"gas": "0x10e94",
34
"gasUsed": "0x33af",
35
"input": "0x3950935100000000000000000000000067316300f17f063085ca8bca4bd3f7a5a3c6627500000000000000000000000000000000000000000000000340aad21b3b700000",
36
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
37
"to": "0x765de816845861e75a25fca122bb6898b8b1282a",
38
"type": "CALL",
39
"value": "0x0"
40
}
41
},
42
{
43
"txHash": "0x9931425daad082741d6356d3e760d0883e979aa77c87febd382c8c8722c221ba",
44
"result": {
45
"calls": [
46
{
47
"calls": [
48
{
49
"from": "0xe3d8bd6aed4f159bc8000a9cd47cffdb95f96121",
50
"gas": "0xdd951",
51
"gasUsed": "0x4b4",
52
"input": "0x0902f1ac",
53
"output": "0x0000000000000000000000000000000000000000000007024465eb44b36352560000000000000000000000000000000000000000000004ec1b66a4f5d1c5be23000000000000000000000000000000000000000000000000000000006357a000",
54
"to": "0x1e593f1fe7b61c53874b54ec0c59fd0d5eb8621e",
55
"type": "STATICCALL"
56
}
57
],
58
"from": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",
59
"gas": "0xe1db4",
60
"gasUsed": "0x1645",
61
"input": "0xd06ca61f00000000000000000000000000000000000000000000000bed1d0263d9f0000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000471ece3750da237f93b8e339c536989b8978a438000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a",
62
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000bed1d0263d9f000000000000000000000000000000000000000000000000000084baf1250ce876a77",
63
"to": "0xe3d8bd6aed4f159bc8000a9cd47cffdb95f96121",
64
"type": "STATICCALL"
65
},
66
{
67
"calls": [
68
{
69
"from": "0x1421bde4b10e8dd459b3bcb598810b1337d56842",
70
"gas": "0xdb660",
71
"gasUsed": "0x4c1",
72
"input": "0x0902f1ac",
73
"output": "0x0000000000000000000000000000000000000000000000028941a76e748dadef000000000000000000000000000000000000000000000d59c26abdac8768640b000000000000000000000000000000000000000000000000000000006357a0eb",
74
"to": "0x93887e0fa9f6c375b2765a6fe885593f16f077f9",
75
"type": "STATICCALL"
76
},
77
{
78
"from": "0x1421bde4b10e8dd459b3bcb598810b1337d56842",
79
"gas": "0xda520",
80
"gasUsed": "0x4c1",
81
"input": "0x0902f1ac",
82
"output": "0x0000000000000000000000000000000000000000000000059107c4a2940f59890000000000000000000000000000000000000000000029a4d876a7a89f908f6d000000000000000000000000000000000000000000000000000000006357a118",
83
"to": "0x517f717f0ae11efc2af8943071b66d77dfafc9fc",
84
"type": "STATICCALL"
85
}
86
],
87
"from": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",
88
"gas": "0xdfa89",
89
"gasUsed": "0x287e",
90
"input": "0xd06ca61f0000000000000000000000000000000000000000000000084baf1250ce876a7700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000122013fd7df1c6f636a5bb8f03108e876548b455000000000000000000000000471ece3750da237f93b8e339c536989b8978a438",
91
"output": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000084baf1250ce876a7700000000000000000000000000000000000000000000000001913ed5db77c7a300000000000000000000000000000000000000000000000bad7cf9755654ea0e",
92
"to": "0x1421bde4b10e8dd459b3bcb598810b1337d56842",
93
"type": "STATICCALL"
94
}
95
],
96
"from": "0x256c334185c9b32d843dd8db5e58d56a760993d3",
97
"gas": "0xe803e",
98
"gasUsed": "0x7abd",
99
"input": "0xe5546f3700000000000000000000000000000000000000000000000bed1d0263d9f00000000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000471ece3750da237f93b8e339c536989b8978a43800000000000000000000000062d5b84be28a183abb507e125b384122d2c25fae000000000000000000000000e3d8bd6aed4f159bc8000a9cd47cffdb95f961210000000000000000000000001421bde4b10e8dd459b3bcb598810b1337d56842000000000000000000000000055aec00dc22bfca3f2acf092148bddf218e1ac7000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000256c334185c9b32d843dd8db5e58d56a760993d30000000000000000000000000000000000000000000000000000000000000003000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000122013fd7df1c6f636a5bb8f03108e876548b455000000000000000000000000471ece3750da237f93b8e339c536989b8978a438",
100
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000b616d6f6f756e74206e6f31000000000000000000000000000000000000000000",
101
"to": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",
102
"type": "CALL",
103
"value": "0x0"
104
}
105
}
106
]
107
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free