Skip to main content

debug_traceBlockByNumber RPC Method

Loading...

Updated on
Mar 27, 2026

debug_traceBlockByNumber 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

blockNumber
string
REQUIRED
Loading...
object
object
Loading...
tracer
string
Loading...
callTracer
string
Loading...
prestateTracer
string
Loading...
tracerConfig
object
Loading...
onlyTopCall
boolean
Loading...

Returns

result
array
Loading...
object
object
Loading...
result
object
Loading...
from
string
Loading...
gas
string
Loading...
gasUsed
string
Loading...
to
string
Loading...
input
string
Loading...
calls
array
Loading...
object
object
Loading...
from
string
Loading...
gas
string
Loading...
gasUsed
string
Loading...
to
string
Loading...
input
string
Loading...
value
string
Loading...
type
string
Loading...
value
string
Loading...
type
string
Loading...
Request
1
curl -X POST "https://docs-demo.morph-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "debug_traceBlockByNumber",
6
"params": [
7
"0x1165AD4",
8
{
9
"tracer": "callTracer",
10
"tracerConfig": {
11
"onlyTopCall": false
12
}
13
}
14
],
15
"id": 1
16
}'
1
curl -X POST "https://docs-demo.morph-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "debug_traceBlockByNumber",
6
"params": [
7
"0x1165AD4",
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
"result": {
7
"from": "0x464fc339add314932920d3e060745bd7ea3e92ad",
8
"gas": "0x4c4b40",
9
"gasUsed": "0x26a07",
10
"to": "0x81606e6f8aad6c75c2f383ea595c2b9f8ce8ae3a",
11
"input": "0x38ed17390000000000000000000000000000000000000000000000000000000001ab3f0000000000000000000000000000000000000000000000000060c64666d740c40000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000464fc339add314932920d3e060745bd7ea3e92ad00000000000000000000000000000000000000000000000000000000690a20950000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c7d67a9cbb121b3b0b9c053dd9f469523243379a000000000000000000000000530000000000000000000000000000000000001100000000000000000000000055d1f1879969bdbb9960d269974564c58dbc3238",
12
"output": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000001ab3f00000000000000000000000000000000000000000000000000001c4d6ae441827f00000000000000000000000000000000000000000000000060cd3bb1b5b24228",
13
"calls": [
14
{
15
"from": "0x81606e6f8aad6c75c2f383ea595c2b9f8ce8ae3a",
16
"gas": "0x4aadce",
17
"gasUsed": "0x9d5",
18
"to": "0x00bf5210b24d371e3df88179da61b2cd83ab44ee",
19
"input": "0x0902f1ac",
20
"output": "0x0000000000000000000000000000000000000000000000005124cafba9d0dc0b00000000000000000000000000000000000000000000000000000004c2f99212000000000000000000000000000000000000000000000000000000006909f606",
21
"type": "STATICCALL"
22
},
23
{
24
"from": "0x81606e6f8aad6c75c2f383ea595c2b9f8ce8ae3a",
25
"gas": "0x4a90ee",
26
"gasUsed": "0x9d5",
27
"to": "0x222a6322011dc37de22e72093051a9417dc0d952",
28
"input": "0x0902f1ac",
29
"output": "0x0000000000000000000000000000000000000000000000003851ddc5c13fec030000000000000000000000000000000000000000000000c1aee59d38ff661824000000000000000000000000000000000000000000000000000000006909f703",
30
"type": "STATICCALL"
31
},
32
{
33
"from": "0x81606e6f8aad6c75c2f383ea595c2b9f8ce8ae3a",
34
"gas": "0x4a7220",
35
"gasUsed": "0x456d",
36
"to": "0xc7d67a9cbb121b3b0b9c053dd9f469523243379a",
37
"input": "0x23b872dd000000000000000000000000464fc339add314932920d3e060745bd7ea3e92ad00000000000000000000000000bf5210b24d371e3df88179da61b2cd83ab44ee0000000000000000000000000000000000000000000000000000000001ab3f00",
38
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
39
"calls": [
40
{
41
"from": "0xc7d67a9cbb121b3b0b9c053dd9f469523243379a",
42
"gas": "0x493e29",
43
"gasUsed": "0x3af1",
44
"to": "0x530000000000000000000000000000000000000d",
45
"input": "0x23b872dd000000000000000000000000464fc339add314932920d3e060745bd7ea3e92ad00000000000000000000000000bf5210b24d371e3df88179da61b2cd83ab44ee0000000000000000000000000000000000000000000000000000000001ab3f00",
46
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
47
"value": "0x0",
48
"type": "DELEGATECALL"
49
}
50
],
51
"value": "0x0",
52
"type": "CALL"
53
},
54
{
55
"from": "0x81606e6f8aad6c75c2f383ea595c2b9f8ce8ae3a",
56
"gas": "0x4a2166",
57
"gasUsed": "0xbc32",
58
"to": "0x00bf5210b24d371e3df88179da61b2cd83ab44ee",
59
"input": "0x022c0d9f000000000000000000000000000000000000000000000000001c4d6ae441827f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000222a6322011dc37de22e72093051a9417dc0d95200000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",
60
"calls": [
61
{
62
"from": "0x00bf5210b24d371e3df88179da61b2cd83ab44ee",
63
"gas": "0x48c508",
64
"gasUsed": "0x316c",
65
"to": "0x5300000000000000000000000000000000000011",
66
"input": "0xa9059cbb000000000000000000000000222a6322011dc37de22e72093051a9417dc0d952000000000000000000000000000000000000000000000000001c4d6ae441827f",
67
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
68
"value": "0x0",
69
"type": "CALL"
70
},
71
{
72
"from": "0x00bf5210b24d371e3df88179da61b2cd83ab44ee",
73
"gas": "0x4891e2",
74
"gasUsed": "0x218",
75
"to": "0x5300000000000000000000000000000000000011",
76
"input": "0x70a0823100000000000000000000000000bf5210b24d371e3df88179da61b2cd83ab44ee",
77
"output": "0x00000000000000000000000000000000000000000000000051087d90c58f598c",
78
"type": "STATICCALL"
79
},
80
{
81
"from": "0x00bf5210b24d371e3df88179da61b2cd83ab44ee",
82
"gas": "0x488e2c",
83
"gasUsed": "0x2d8",
84
"to": "0xc7d67a9cbb121b3b0b9c053dd9f469523243379a",
85
"input": "0x70a0823100000000000000000000000000bf5210b24d371e3df88179da61b2cd83ab44ee",
86
"output": "0x00000000000000000000000000000000000000000000000000000004c4a4d112",
87
"calls": [
88
{
89
"from": "0xc7d67a9cbb121b3b0b9c053dd9f469523243379a",
90
"gas": "0x476b6e",
91
"gasUsed": "0x22c",
92
"to": "0x530000000000000000000000000000000000000d",
93
"input": "0x70a0823100000000000000000000000000bf5210b24d371e3df88179da61b2cd83ab44ee",
94
"output": "0x00000000000000000000000000000000000000000000000000000004c4a4d112",
95
"value": "0x0",
96
"type": "DELEGATECALL"
97
}
98
],
99
"type": "STATICCALL"
100
}
101
],
102
"value": "0x0",
103
"type": "CALL"
104
},
105
{
106
"from": "0x81606e6f8aad6c75c2f383ea595c2b9f8ce8ae3a",
107
"gas": "0x496040",
108
"gasUsed": "0xbd03",
109
"to": "0x222a6322011dc37de22e72093051a9417dc0d952",
110
"input": "0x022c0d9f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060cd3bb1b5b24228000000000000000000000000464fc339add314932920d3e060745bd7ea3e92ad00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",
111
"calls": [
112
{
113
"from": "0x222a6322011dc37de22e72093051a9417dc0d952",
114
"gas": "0x4806c8",
115
"gasUsed": "0x323d",
116
"to": "0x55d1f1879969bdbb9960d269974564c58dbc3238",
117
"input": "0xa9059cbb000000000000000000000000464fc339add314932920d3e060745bd7ea3e92ad00000000000000000000000000000000000000000000000060cd3bb1b5b24228",
118
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
119
"calls": [
120
{
121
"from": "0x55d1f1879969bdbb9960d269974564c58dbc3238",
122
"gas": "0x46e622",
123
"gasUsed": "0x318b",
124
"to": "0x530000000000000000000000000000000000000d",
125
"input": "0xa9059cbb000000000000000000000000464fc339add314932920d3e060745bd7ea3e92ad00000000000000000000000000000000000000000000000060cd3bb1b5b24228",
126
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
127
"value": "0x0",
128
"type": "DELEGATECALL"
129
}
130
],
131
"value": "0x0",
132
"type": "CALL"
133
},
134
{
135
"from": "0x222a6322011dc37de22e72093051a9417dc0d952",
136
"gas": "0x47d2e8",
137
"gasUsed": "0x218",
138
"to": "0x5300000000000000000000000000000000000011",
139
"input": "0x70a08231000000000000000000000000222a6322011dc37de22e72093051a9417dc0d952",
140
"output": "0x000000000000000000000000000000000000000000000000386e2b30a5816e82",
141
"type": "STATICCALL"
142
},
143
{
144
"from": "0x222a6322011dc37de22e72093051a9417dc0d952",
145
"gas": "0x47cf32",
146
"gasUsed": "0x2d8",
147
"to": "0x55d1f1879969bdbb9960d269974564c58dbc3238",
148
"input": "0x70a08231000000000000000000000000222a6322011dc37de22e72093051a9417dc0d952",
149
"output": "0x0000000000000000000000000000000000000000000000c14e18618749b3d5fc",
150
"calls": [
151
{
152
"from": "0x55d1f1879969bdbb9960d269974564c58dbc3238",
153
"gas": "0x46af70",
154
"gasUsed": "0x22c",
155
"to": "0x530000000000000000000000000000000000000d",
156
"input": "0x70a08231000000000000000000000000222a6322011dc37de22e72093051a9417dc0d952",
157
"output": "0x0000000000000000000000000000000000000000000000c14e18618749b3d5fc",
158
"value": "0x0",
159
"type": "DELEGATECALL"
160
}
161
],
162
"type": "STATICCALL"
163
}
164
],
165
"value": "0x0",
166
"type": "CALL"
167
}
168
],
169
"value": "0x0",
170
"type": "CALL"
171
}
172
}
173
]
174
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"result": {
7
"from": "0x464fc339add314932920d3e060745bd7ea3e92ad",
8
"gas": "0x4c4b40",
9
"gasUsed": "0x26a07",
10
"to": "0x81606e6f8aad6c75c2f383ea595c2b9f8ce8ae3a",
11
"input": "0x38ed17390000000000000000000000000000000000000000000000000000000001ab3f0000000000000000000000000000000000000000000000000060c64666d740c40000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000464fc339add314932920d3e060745bd7ea3e92ad00000000000000000000000000000000000000000000000000000000690a20950000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c7d67a9cbb121b3b0b9c053dd9f469523243379a000000000000000000000000530000000000000000000000000000000000001100000000000000000000000055d1f1879969bdbb9960d269974564c58dbc3238",
12
"output": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000001ab3f00000000000000000000000000000000000000000000000000001c4d6ae441827f00000000000000000000000000000000000000000000000060cd3bb1b5b24228",
13
"calls": [
14
{
15
"from": "0x81606e6f8aad6c75c2f383ea595c2b9f8ce8ae3a",
16
"gas": "0x4aadce",
17
"gasUsed": "0x9d5",
18
"to": "0x00bf5210b24d371e3df88179da61b2cd83ab44ee",
19
"input": "0x0902f1ac",
20
"output": "0x0000000000000000000000000000000000000000000000005124cafba9d0dc0b00000000000000000000000000000000000000000000000000000004c2f99212000000000000000000000000000000000000000000000000000000006909f606",
21
"type": "STATICCALL"
22
},
23
{
24
"from": "0x81606e6f8aad6c75c2f383ea595c2b9f8ce8ae3a",
25
"gas": "0x4a90ee",
26
"gasUsed": "0x9d5",
27
"to": "0x222a6322011dc37de22e72093051a9417dc0d952",
28
"input": "0x0902f1ac",
29
"output": "0x0000000000000000000000000000000000000000000000003851ddc5c13fec030000000000000000000000000000000000000000000000c1aee59d38ff661824000000000000000000000000000000000000000000000000000000006909f703",
30
"type": "STATICCALL"
31
},
32
{
33
"from": "0x81606e6f8aad6c75c2f383ea595c2b9f8ce8ae3a",
34
"gas": "0x4a7220",
35
"gasUsed": "0x456d",
36
"to": "0xc7d67a9cbb121b3b0b9c053dd9f469523243379a",
37
"input": "0x23b872dd000000000000000000000000464fc339add314932920d3e060745bd7ea3e92ad00000000000000000000000000bf5210b24d371e3df88179da61b2cd83ab44ee0000000000000000000000000000000000000000000000000000000001ab3f00",
38
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
39
"calls": [
40
{
41
"from": "0xc7d67a9cbb121b3b0b9c053dd9f469523243379a",
42
"gas": "0x493e29",
43
"gasUsed": "0x3af1",
44
"to": "0x530000000000000000000000000000000000000d",
45
"input": "0x23b872dd000000000000000000000000464fc339add314932920d3e060745bd7ea3e92ad00000000000000000000000000bf5210b24d371e3df88179da61b2cd83ab44ee0000000000000000000000000000000000000000000000000000000001ab3f00",
46
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
47
"value": "0x0",
48
"type": "DELEGATECALL"
49
}
50
],
51
"value": "0x0",
52
"type": "CALL"
53
},
54
{
55
"from": "0x81606e6f8aad6c75c2f383ea595c2b9f8ce8ae3a",
56
"gas": "0x4a2166",
57
"gasUsed": "0xbc32",
58
"to": "0x00bf5210b24d371e3df88179da61b2cd83ab44ee",
59
"input": "0x022c0d9f000000000000000000000000000000000000000000000000001c4d6ae441827f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000222a6322011dc37de22e72093051a9417dc0d95200000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",
60
"calls": [
61
{
62
"from": "0x00bf5210b24d371e3df88179da61b2cd83ab44ee",
63
"gas": "0x48c508",
64
"gasUsed": "0x316c",
65
"to": "0x5300000000000000000000000000000000000011",
66
"input": "0xa9059cbb000000000000000000000000222a6322011dc37de22e72093051a9417dc0d952000000000000000000000000000000000000000000000000001c4d6ae441827f",
67
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
68
"value": "0x0",
69
"type": "CALL"
70
},
71
{
72
"from": "0x00bf5210b24d371e3df88179da61b2cd83ab44ee",
73
"gas": "0x4891e2",
74
"gasUsed": "0x218",
75
"to": "0x5300000000000000000000000000000000000011",
76
"input": "0x70a0823100000000000000000000000000bf5210b24d371e3df88179da61b2cd83ab44ee",
77
"output": "0x00000000000000000000000000000000000000000000000051087d90c58f598c",
78
"type": "STATICCALL"
79
},
80
{
81
"from": "0x00bf5210b24d371e3df88179da61b2cd83ab44ee",
82
"gas": "0x488e2c",
83
"gasUsed": "0x2d8",
84
"to": "0xc7d67a9cbb121b3b0b9c053dd9f469523243379a",
85
"input": "0x70a0823100000000000000000000000000bf5210b24d371e3df88179da61b2cd83ab44ee",
86
"output": "0x00000000000000000000000000000000000000000000000000000004c4a4d112",
87
"calls": [
88
{
89
"from": "0xc7d67a9cbb121b3b0b9c053dd9f469523243379a",
90
"gas": "0x476b6e",
91
"gasUsed": "0x22c",
92
"to": "0x530000000000000000000000000000000000000d",
93
"input": "0x70a0823100000000000000000000000000bf5210b24d371e3df88179da61b2cd83ab44ee",
94
"output": "0x00000000000000000000000000000000000000000000000000000004c4a4d112",
95
"value": "0x0",
96
"type": "DELEGATECALL"
97
}
98
],
99
"type": "STATICCALL"
100
}
101
],
102
"value": "0x0",
103
"type": "CALL"
104
},
105
{
106
"from": "0x81606e6f8aad6c75c2f383ea595c2b9f8ce8ae3a",
107
"gas": "0x496040",
108
"gasUsed": "0xbd03",
109
"to": "0x222a6322011dc37de22e72093051a9417dc0d952",
110
"input": "0x022c0d9f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060cd3bb1b5b24228000000000000000000000000464fc339add314932920d3e060745bd7ea3e92ad00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",
111
"calls": [
112
{
113
"from": "0x222a6322011dc37de22e72093051a9417dc0d952",
114
"gas": "0x4806c8",
115
"gasUsed": "0x323d",
116
"to": "0x55d1f1879969bdbb9960d269974564c58dbc3238",
117
"input": "0xa9059cbb000000000000000000000000464fc339add314932920d3e060745bd7ea3e92ad00000000000000000000000000000000000000000000000060cd3bb1b5b24228",
118
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
119
"calls": [
120
{
121
"from": "0x55d1f1879969bdbb9960d269974564c58dbc3238",
122
"gas": "0x46e622",
123
"gasUsed": "0x318b",
124
"to": "0x530000000000000000000000000000000000000d",
125
"input": "0xa9059cbb000000000000000000000000464fc339add314932920d3e060745bd7ea3e92ad00000000000000000000000000000000000000000000000060cd3bb1b5b24228",
126
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
127
"value": "0x0",
128
"type": "DELEGATECALL"
129
}
130
],
131
"value": "0x0",
132
"type": "CALL"
133
},
134
{
135
"from": "0x222a6322011dc37de22e72093051a9417dc0d952",
136
"gas": "0x47d2e8",
137
"gasUsed": "0x218",
138
"to": "0x5300000000000000000000000000000000000011",
139
"input": "0x70a08231000000000000000000000000222a6322011dc37de22e72093051a9417dc0d952",
140
"output": "0x000000000000000000000000000000000000000000000000386e2b30a5816e82",
141
"type": "STATICCALL"
142
},
143
{
144
"from": "0x222a6322011dc37de22e72093051a9417dc0d952",
145
"gas": "0x47cf32",
146
"gasUsed": "0x2d8",
147
"to": "0x55d1f1879969bdbb9960d269974564c58dbc3238",
148
"input": "0x70a08231000000000000000000000000222a6322011dc37de22e72093051a9417dc0d952",
149
"output": "0x0000000000000000000000000000000000000000000000c14e18618749b3d5fc",
150
"calls": [
151
{
152
"from": "0x55d1f1879969bdbb9960d269974564c58dbc3238",
153
"gas": "0x46af70",
154
"gasUsed": "0x22c",
155
"to": "0x530000000000000000000000000000000000000d",
156
"input": "0x70a08231000000000000000000000000222a6322011dc37de22e72093051a9417dc0d952",
157
"output": "0x0000000000000000000000000000000000000000000000c14e18618749b3d5fc",
158
"value": "0x0",
159
"type": "DELEGATECALL"
160
}
161
],
162
"type": "STATICCALL"
163
}
164
],
165
"value": "0x0",
166
"type": "CALL"
167
}
168
],
169
"value": "0x0",
170
"type": "CALL"
171
}
172
}
173
]
174
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free