Skip to main content

debug_traceTransaction RPC Method

Loading...

Updated on
Feb 23, 2026

debug_traceTransaction 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

transactionHash
string
REQUIRED
Loading...
object
object
Loading...
tracer
string
Loading...
callTracer
string
Loading...
prestateTracer
string
Loading...
tracerConfig
object
Loading...
onlyTopCall
boolean
Loading...
timeout
string
Loading...

Returns

result
Loading...
from
Loading...
gas
Loading...
gasUsed
Loading...
to
Loading...
input
Loading...
output
Loading...
calls
Loading...
from
Loading...
gas
Loading...
gasUsed
Loading...
to
Loading...
input
Loading...
output
Loading...
value
Loading...
type
Loading...
calls
Loading...
value
Loading...
type
Loading...
Request
1
curl -X POST "https://docs-demo.scroll-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "debug_traceTransaction",
6
"params": [
7
"0xf27e1bac1a4770e3c295048cefd10eed8e9cffeeea7a69f9edee5b638aaa332d",
8
{
9
"tracer": "callTracer"
10
}
11
],
12
"id": 1
13
}'
1
curl -X POST "https://docs-demo.scroll-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "debug_traceTransaction",
6
"params": [
7
"0xf27e1bac1a4770e3c295048cefd10eed8e9cffeeea7a69f9edee5b638aaa332d",
8
{
9
"tracer": "callTracer"
10
}
11
],
12
"id": 1
13
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"calls": [
6
{
7
"from": "0xaa111c62cdeef205f70e6722d1e22274274ec12f",
8
"gas": "0x355b0",
9
"gasUsed": "0xa3b",
10
"input": "0xe5e31b1300000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
11
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
12
"to": "0x2516212168034b18a0155ffbe59f2f0063fffbd9",
13
"type": "STATICCALL"
14
},
15
{
16
"calls": [
17
{
18
"calls": [
19
{
20
"from": "0x2516212168034b18a0155ffbe59f2f0063fffbd9",
21
"gas": "0x3089f",
22
"gasUsed": "0x14f",
23
"input": "0x22be3de1",
24
"output": "0x0000000000000000000000000000000000000000000000000000000000000000",
25
"to": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
26
"type": "STATICCALL"
27
}
28
],
29
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
30
"gas": "0x31fe5",
31
"gasUsed": "0x15bd",
32
"input": "0xb88c914800000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
33
"output": "0x0000000000000000000000000000000000000000000000000000000000000019",
34
"to": "0x2516212168034b18a0155ffbe59f2f0063fffbd9",
35
"type": "STATICCALL"
36
}
37
],
38
"from": "0xaa111c62cdeef205f70e6722d1e22274274ec12f",
39
"gas": "0x33fa7",
40
"gasUsed": "0x2c2b",
41
"input": "0xf140a35a0000000000000000000000000000000000000000000000000035721238d7cc620000000000000000000000005300000000000000000000000000000000000004",
42
"output": "0x000000000000000000000000000000000000000000000048eea7743127a05527",
43
"to": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
44
"type": "STATICCALL"
45
},
46
{
47
"from": "0xaa111c62cdeef205f70e6722d1e22274274ec12f",
48
"gas": "0x2fe3a",
49
"gasUsed": "0x4f16",
50
"input": "0x23b872dd000000000000000000000000f94ad6816183ed4468684ff99cd4556ce4c3aca100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d01800000000000000000000000000000000000000000000000000035721238d7cc62",
51
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
52
"to": "0x5300000000000000000000000000000000000004",
53
"type": "CALL",
54
"value": "0x0"
55
},
56
{
57
"calls": [
58
{
59
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
60
"gas": "0x28207",
61
"gasUsed": "0x95a",
62
"input": "0xb187bd26",
63
"output": "0x0000000000000000000000000000000000000000000000000000000000000000",
64
"to": "0x2516212168034b18a0155ffbe59f2f0063fffbd9",
65
"type": "STATICCALL"
66
},
67
{
68
"calls": [
69
{
70
"from": "0x6b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf",
71
"gas": "0x24c2c",
72
"gasUsed": "0x5b30",
73
"input": "0xa9059cbb000000000000000000000000f94ad6816183ed4468684ff99cd4556ce4c3aca1000000000000000000000000000000000000000000000048eea7743127a05527",
74
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
75
"to": "0x2abe73387d571ab3c570be070e1201e5d40f55fa",
76
"type": "DELEGATECALL"
77
}
78
],
79
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
80
"gas": "0x268dd",
81
"gasUsed": "0x6eb7",
82
"input": "0xa9059cbb000000000000000000000000f94ad6816183ed4468684ff99cd4556ce4c3aca1000000000000000000000000000000000000000000000048eea7743127a05527",
83
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
84
"to": "0x6b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf",
85
"type": "CALL",
86
"value": "0x0"
87
},
88
{
89
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
90
"gas": "0x1f997",
91
"gasUsed": "0x233",
92
"input": "0x70a0823100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
93
"output": "0x00000000000000000000000000000000000000000000000072647da01f205440",
94
"to": "0x5300000000000000000000000000000000000004",
95
"type": "STATICCALL"
96
},
97
{
98
"calls": [
99
{
100
"from": "0x6b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf",
101
"gas": "0x1e4bd",
102
"gasUsed": "0x419",
103
"input": "0x70a0823100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
104
"output": "0x000000000000000000000000000000000000000000009c34de9abb6053419506",
105
"to": "0x2abe73387d571ab3c570be070e1201e5d40f55fa",
106
"type": "DELEGATECALL"
107
}
108
],
109
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
110
"gas": "0x1f602",
111
"gasUsed": "0xdd9",
112
"input": "0x70a0823100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
113
"output": "0x000000000000000000000000000000000000000000009c34de9abb6053419506",
114
"to": "0x6b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf",
115
"type": "STATICCALL"
116
},
117
{
118
"calls": [
119
{
120
"from": "0x2516212168034b18a0155ffbe59f2f0063fffbd9",
121
"gas": "0x1daa4",
122
"gasUsed": "0x14f",
123
"input": "0x22be3de1",
124
"output": "0x0000000000000000000000000000000000000000000000000000000000000000",
125
"to": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
126
"type": "STATICCALL"
127
}
128
],
129
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
130
"gas": "0x1e54f",
131
"gasUsed": "0x61d",
132
"input": "0xb88c914800000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
133
"output": "0x0000000000000000000000000000000000000000000000000000000000000019",
134
"to": "0x2516212168034b18a0155ffbe59f2f0063fffbd9",
135
"type": "STATICCALL"
136
},
137
{
138
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
139
"gas": "0x1d4d5",
140
"gasUsed": "0x233",
141
"input": "0x70a0823100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
142
"output": "0x00000000000000000000000000000000000000000000000072647da01f205440",
143
"to": "0x5300000000000000000000000000000000000004",
144
"type": "STATICCALL"
145
},
146
{
147
"calls": [
148
{
149
"from": "0x6b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf",
150
"gas": "0x1c83f",
151
"gasUsed": "0x419",
152
"input": "0x70a0823100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
153
"output": "0x000000000000000000000000000000000000000000009c34de9abb6053419506",
154
"to": "0x2abe73387d571ab3c570be070e1201e5d40f55fa",
155
"type": "DELEGATECALL"
156
}
157
],
158
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
159
"gas": "0x1d140",
160
"gasUsed": "0x609",
161
"input": "0x70a0823100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
162
"output": "0x000000000000000000000000000000000000000000009c34de9abb6053419506",
163
"to": "0x6b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf",
164
"type": "STATICCALL"
165
}
166
],
167
"from": "0xaa111c62cdeef205f70e6722d1e22274274ec12f",
168
"gas": "0x2a2db",
169
"gasUsed": "0x1594d",
170
"input": "0x022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000048eea7743127a05527000000000000000000000000f94ad6816183ed4468684ff99cd4556ce4c3aca100000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",
171
"output": "0x",
172
"to": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
173
"type": "CALL",
174
"value": "0x0"
175
}
176
],
177
"from": "0xf94ad6816183ed4468684ff99cd4556ce4c3aca1",
178
"gas": "0x378ca",
179
"gasUsed": "0x226a1",
180
"input": "0xf41766d80000000000000000000000000000000000000000000000000035721238d7cc62000000000000000000000000000000000000000000000048e5519c32aa8c000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f94ad6816183ed4468684ff99cd4556ce4c3aca100000000000000000000000000000000000000000000000000000000653139c6000000000000000000000000000000000000000000000000000000000000000100000000000000000000000053000000000000000000000000000000000000040000000000000000000000006b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf0000000000000000000000000000000000000000000000000000000000000000",
181
"output": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000035721238d7cc62000000000000000000000000000000000000000000000048eea7743127a05527",
182
"to": "0xaa111c62cdeef205f70e6722d1e22274274ec12f",
183
"type": "CALL",
184
"value": "0x0"
185
}
186
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"calls": [
6
{
7
"from": "0xaa111c62cdeef205f70e6722d1e22274274ec12f",
8
"gas": "0x355b0",
9
"gasUsed": "0xa3b",
10
"input": "0xe5e31b1300000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
11
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
12
"to": "0x2516212168034b18a0155ffbe59f2f0063fffbd9",
13
"type": "STATICCALL"
14
},
15
{
16
"calls": [
17
{
18
"calls": [
19
{
20
"from": "0x2516212168034b18a0155ffbe59f2f0063fffbd9",
21
"gas": "0x3089f",
22
"gasUsed": "0x14f",
23
"input": "0x22be3de1",
24
"output": "0x0000000000000000000000000000000000000000000000000000000000000000",
25
"to": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
26
"type": "STATICCALL"
27
}
28
],
29
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
30
"gas": "0x31fe5",
31
"gasUsed": "0x15bd",
32
"input": "0xb88c914800000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
33
"output": "0x0000000000000000000000000000000000000000000000000000000000000019",
34
"to": "0x2516212168034b18a0155ffbe59f2f0063fffbd9",
35
"type": "STATICCALL"
36
}
37
],
38
"from": "0xaa111c62cdeef205f70e6722d1e22274274ec12f",
39
"gas": "0x33fa7",
40
"gasUsed": "0x2c2b",
41
"input": "0xf140a35a0000000000000000000000000000000000000000000000000035721238d7cc620000000000000000000000005300000000000000000000000000000000000004",
42
"output": "0x000000000000000000000000000000000000000000000048eea7743127a05527",
43
"to": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
44
"type": "STATICCALL"
45
},
46
{
47
"from": "0xaa111c62cdeef205f70e6722d1e22274274ec12f",
48
"gas": "0x2fe3a",
49
"gasUsed": "0x4f16",
50
"input": "0x23b872dd000000000000000000000000f94ad6816183ed4468684ff99cd4556ce4c3aca100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d01800000000000000000000000000000000000000000000000000035721238d7cc62",
51
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
52
"to": "0x5300000000000000000000000000000000000004",
53
"type": "CALL",
54
"value": "0x0"
55
},
56
{
57
"calls": [
58
{
59
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
60
"gas": "0x28207",
61
"gasUsed": "0x95a",
62
"input": "0xb187bd26",
63
"output": "0x0000000000000000000000000000000000000000000000000000000000000000",
64
"to": "0x2516212168034b18a0155ffbe59f2f0063fffbd9",
65
"type": "STATICCALL"
66
},
67
{
68
"calls": [
69
{
70
"from": "0x6b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf",
71
"gas": "0x24c2c",
72
"gasUsed": "0x5b30",
73
"input": "0xa9059cbb000000000000000000000000f94ad6816183ed4468684ff99cd4556ce4c3aca1000000000000000000000000000000000000000000000048eea7743127a05527",
74
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
75
"to": "0x2abe73387d571ab3c570be070e1201e5d40f55fa",
76
"type": "DELEGATECALL"
77
}
78
],
79
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
80
"gas": "0x268dd",
81
"gasUsed": "0x6eb7",
82
"input": "0xa9059cbb000000000000000000000000f94ad6816183ed4468684ff99cd4556ce4c3aca1000000000000000000000000000000000000000000000048eea7743127a05527",
83
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
84
"to": "0x6b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf",
85
"type": "CALL",
86
"value": "0x0"
87
},
88
{
89
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
90
"gas": "0x1f997",
91
"gasUsed": "0x233",
92
"input": "0x70a0823100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
93
"output": "0x00000000000000000000000000000000000000000000000072647da01f205440",
94
"to": "0x5300000000000000000000000000000000000004",
95
"type": "STATICCALL"
96
},
97
{
98
"calls": [
99
{
100
"from": "0x6b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf",
101
"gas": "0x1e4bd",
102
"gasUsed": "0x419",
103
"input": "0x70a0823100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
104
"output": "0x000000000000000000000000000000000000000000009c34de9abb6053419506",
105
"to": "0x2abe73387d571ab3c570be070e1201e5d40f55fa",
106
"type": "DELEGATECALL"
107
}
108
],
109
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
110
"gas": "0x1f602",
111
"gasUsed": "0xdd9",
112
"input": "0x70a0823100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
113
"output": "0x000000000000000000000000000000000000000000009c34de9abb6053419506",
114
"to": "0x6b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf",
115
"type": "STATICCALL"
116
},
117
{
118
"calls": [
119
{
120
"from": "0x2516212168034b18a0155ffbe59f2f0063fffbd9",
121
"gas": "0x1daa4",
122
"gasUsed": "0x14f",
123
"input": "0x22be3de1",
124
"output": "0x0000000000000000000000000000000000000000000000000000000000000000",
125
"to": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
126
"type": "STATICCALL"
127
}
128
],
129
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
130
"gas": "0x1e54f",
131
"gasUsed": "0x61d",
132
"input": "0xb88c914800000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
133
"output": "0x0000000000000000000000000000000000000000000000000000000000000019",
134
"to": "0x2516212168034b18a0155ffbe59f2f0063fffbd9",
135
"type": "STATICCALL"
136
},
137
{
138
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
139
"gas": "0x1d4d5",
140
"gasUsed": "0x233",
141
"input": "0x70a0823100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
142
"output": "0x00000000000000000000000000000000000000000000000072647da01f205440",
143
"to": "0x5300000000000000000000000000000000000004",
144
"type": "STATICCALL"
145
},
146
{
147
"calls": [
148
{
149
"from": "0x6b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf",
150
"gas": "0x1c83f",
151
"gasUsed": "0x419",
152
"input": "0x70a0823100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
153
"output": "0x000000000000000000000000000000000000000000009c34de9abb6053419506",
154
"to": "0x2abe73387d571ab3c570be070e1201e5d40f55fa",
155
"type": "DELEGATECALL"
156
}
157
],
158
"from": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
159
"gas": "0x1d140",
160
"gasUsed": "0x609",
161
"input": "0x70a0823100000000000000000000000063e3c9c06120af5dca2788ecbb30b923e52d0180",
162
"output": "0x000000000000000000000000000000000000000000009c34de9abb6053419506",
163
"to": "0x6b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf",
164
"type": "STATICCALL"
165
}
166
],
167
"from": "0xaa111c62cdeef205f70e6722d1e22274274ec12f",
168
"gas": "0x2a2db",
169
"gasUsed": "0x1594d",
170
"input": "0x022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000048eea7743127a05527000000000000000000000000f94ad6816183ed4468684ff99cd4556ce4c3aca100000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",
171
"output": "0x",
172
"to": "0x63e3c9c06120af5dca2788ecbb30b923e52d0180",
173
"type": "CALL",
174
"value": "0x0"
175
}
176
],
177
"from": "0xf94ad6816183ed4468684ff99cd4556ce4c3aca1",
178
"gas": "0x378ca",
179
"gasUsed": "0x226a1",
180
"input": "0xf41766d80000000000000000000000000000000000000000000000000035721238d7cc62000000000000000000000000000000000000000000000048e5519c32aa8c000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f94ad6816183ed4468684ff99cd4556ce4c3aca100000000000000000000000000000000000000000000000000000000653139c6000000000000000000000000000000000000000000000000000000000000000100000000000000000000000053000000000000000000000000000000000000040000000000000000000000006b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf0000000000000000000000000000000000000000000000000000000000000000",
181
"output": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000035721238d7cc62000000000000000000000000000000000000000000000048eea7743127a05527",
182
"to": "0xaa111c62cdeef205f70e6722d1e22274274ec12f",
183
"type": "CALL",
184
"value": "0x0"
185
}
186
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free