Skip to main content

debug_traceTransaction RPC Method

Loading...

Updated on
May 06, 2026

debug_traceTransaction 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

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

Returns

result
Loading...
type
Loading...
from
Loading...
to
Loading...
value
Loading...
gas
Loading...
gasUsed
Loading...
input
Loading...
output
Loading...
error
Loading...
revertReason
Loading...
calls
Loading...
from
Loading...
gas
Loading...
gasUsed
Loading...
to
Loading...
input
Loading...
output
Loading...
value
Loading...
type
Loading...
calls
Loading...
Request
1
curl -X POST "https://docs-demo.bsc.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "debug_traceTransaction",
6
"params": [
7
"0x0ff2022252b448cb86c90653ac26f432669f1dc29c74f3586e143ce1e386c00a",
8
{
9
"tracer": "callTracer"
10
}
11
],
12
"id": 1
13
}'
1
curl -X POST "https://docs-demo.bsc.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "debug_traceTransaction",
6
"params": [
7
"0x0ff2022252b448cb86c90653ac26f432669f1dc29c74f3586e143ce1e386c00a",
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": "0x10ed43c718714eb63d5aa57b78b54704e256024e",
8
"gas": "0x2593f",
9
"gasUsed": "0xbb1",
10
"input": "0x0902f1ac",
11
"output": "0x00000000000000000000000000000000000000000024ab655459272e0998e93800000000000000000000000000000000000000000000000cd0d197f6d63e94cc0000000000000000000000000000000000000000000000000000000063ab0b23",
12
"to": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",
13
"type": "STATICCALL"
14
},
15
{
16
"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",
17
"gas": "0x2299d",
18
"gasUsed": "0x5892",
19
"input": "0xd0e30db0",
20
"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
21
"type": "CALL",
22
"value": "0xde0b6b3a7640000"
23
},
24
{
25
"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",
26
"gas": "0x1c916",
27
"gasUsed": "0x2ad2",
28
"input": "0xa9059cbb000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef0000000000000000000000000000000000000000000000000de0b6b3a7640000",
29
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
30
"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
31
"type": "CALL",
32
"value": "0x0"
33
},
34
{
35
"calls": [
36
{
37
"calls": [
38
{
39
"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
40
"gas": "0x145e8",
41
"gasUsed": "0x605",
42
"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",
43
"output": "0x00000000000000000000000000000000000000000024ab655459272e0998e938",
44
"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",
45
"type": "STATICCALL"
46
},
47
{
48
"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
49
"gas": "0x12939",
50
"gasUsed": "0x1ddf",
51
"input": "0xff056949000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef00000000000000000000000000000000000000000000277159899d4e86b1949c",
52
"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",
53
"type": "CALL",
54
"value": "0x0"
55
},
56
{
57
"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
58
"gas": "0xf4c9",
59
"gasUsed": "0x1da3",
60
"input": "0x5b86f59900000000000000000000000004e149ed9f356099d235b8402ce7c31f9f207374000000000000000000000000000000000000000000000193e4dc8b698a81fbb4",
61
"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",
62
"type": "CALL",
63
"value": "0x0"
64
},
65
{
66
"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
67
"gas": "0xc247",
68
"gasUsed": "0x1da3",
69
"input": "0x5b86f599000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c0000000000000000000000000000000000000000000025dd74ad11e4fc2f98e8",
70
"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",
71
"type": "CALL",
72
"value": "0x0"
73
}
74
],
75
"from": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",
76
"gas": "0x15c76",
77
"gasUsed": "0xbd5e",
78
"input": "0xa9059cbb000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c00000000000000000000000000000000000000000000277159899d4e86b1949c",
79
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
80
"to": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
81
"type": "CALL",
82
"value": "0x0"
83
},
84
{
85
"calls": [
86
{
87
"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
88
"gas": "0x8c47",
89
"gasUsed": "0x605",
90
"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",
91
"output": "0x0000000000000000000000000000000000000000002483f3facf89df82e7549c",
92
"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",
93
"type": "STATICCALL"
94
}
95
],
96
"from": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",
97
"gas": "0x9abc",
98
"gasUsed": "0x1446",
99
"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",
100
"output": "0x0000000000000000000000000000000000000000002483f3facf89df82e7549c",
101
"to": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
102
"type": "STATICCALL"
103
},
104
{
105
"from": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",
106
"gas": "0x806c",
107
"gasUsed": "0x4d2",
108
"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",
109
"output": "0x00000000000000000000000000000000000000000000000cdeb24eaa7da294cc",
110
"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
111
"type": "STATICCALL"
112
}
113
],
114
"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",
115
"gas": "0x19252",
116
"gasUsed": "0x18c8a",
117
"input": "0x022c0d9f00000000000000000000000000000000000000000000277159899d4e86b1949c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",
118
"to": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",
119
"type": "CALL",
120
"value": "0x0"
121
}
122
],
123
"from": "0xa2c2ea849a07383684eed1123446d2325a56346c",
124
"gas": "0x2cbe4",
125
"gasUsed": "0x2661a",
126
"input": "0x7ff36ab500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c0000000000000000000000000000000000000000000000000000000063ab323b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c000000000000000000000000829a20ec98520f9878f49c311565cf4a86ea7cd1",
127
"output": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000277159899d4e86b1949c",
128
"to": "0x10ed43c718714eb63d5aa57b78b54704e256024e",
129
"type": "CALL",
130
"value": "0xde0b6b3a7640000"
131
}
132
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"calls": [
6
{
7
"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",
8
"gas": "0x2593f",
9
"gasUsed": "0xbb1",
10
"input": "0x0902f1ac",
11
"output": "0x00000000000000000000000000000000000000000024ab655459272e0998e93800000000000000000000000000000000000000000000000cd0d197f6d63e94cc0000000000000000000000000000000000000000000000000000000063ab0b23",
12
"to": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",
13
"type": "STATICCALL"
14
},
15
{
16
"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",
17
"gas": "0x2299d",
18
"gasUsed": "0x5892",
19
"input": "0xd0e30db0",
20
"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
21
"type": "CALL",
22
"value": "0xde0b6b3a7640000"
23
},
24
{
25
"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",
26
"gas": "0x1c916",
27
"gasUsed": "0x2ad2",
28
"input": "0xa9059cbb000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef0000000000000000000000000000000000000000000000000de0b6b3a7640000",
29
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
30
"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
31
"type": "CALL",
32
"value": "0x0"
33
},
34
{
35
"calls": [
36
{
37
"calls": [
38
{
39
"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
40
"gas": "0x145e8",
41
"gasUsed": "0x605",
42
"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",
43
"output": "0x00000000000000000000000000000000000000000024ab655459272e0998e938",
44
"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",
45
"type": "STATICCALL"
46
},
47
{
48
"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
49
"gas": "0x12939",
50
"gasUsed": "0x1ddf",
51
"input": "0xff056949000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef00000000000000000000000000000000000000000000277159899d4e86b1949c",
52
"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",
53
"type": "CALL",
54
"value": "0x0"
55
},
56
{
57
"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
58
"gas": "0xf4c9",
59
"gasUsed": "0x1da3",
60
"input": "0x5b86f59900000000000000000000000004e149ed9f356099d235b8402ce7c31f9f207374000000000000000000000000000000000000000000000193e4dc8b698a81fbb4",
61
"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",
62
"type": "CALL",
63
"value": "0x0"
64
},
65
{
66
"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
67
"gas": "0xc247",
68
"gasUsed": "0x1da3",
69
"input": "0x5b86f599000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c0000000000000000000000000000000000000000000025dd74ad11e4fc2f98e8",
70
"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",
71
"type": "CALL",
72
"value": "0x0"
73
}
74
],
75
"from": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",
76
"gas": "0x15c76",
77
"gasUsed": "0xbd5e",
78
"input": "0xa9059cbb000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c00000000000000000000000000000000000000000000277159899d4e86b1949c",
79
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
80
"to": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
81
"type": "CALL",
82
"value": "0x0"
83
},
84
{
85
"calls": [
86
{
87
"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
88
"gas": "0x8c47",
89
"gasUsed": "0x605",
90
"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",
91
"output": "0x0000000000000000000000000000000000000000002483f3facf89df82e7549c",
92
"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",
93
"type": "STATICCALL"
94
}
95
],
96
"from": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",
97
"gas": "0x9abc",
98
"gasUsed": "0x1446",
99
"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",
100
"output": "0x0000000000000000000000000000000000000000002483f3facf89df82e7549c",
101
"to": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",
102
"type": "STATICCALL"
103
},
104
{
105
"from": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",
106
"gas": "0x806c",
107
"gasUsed": "0x4d2",
108
"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",
109
"output": "0x00000000000000000000000000000000000000000000000cdeb24eaa7da294cc",
110
"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
111
"type": "STATICCALL"
112
}
113
],
114
"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",
115
"gas": "0x19252",
116
"gasUsed": "0x18c8a",
117
"input": "0x022c0d9f00000000000000000000000000000000000000000000277159899d4e86b1949c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",
118
"to": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",
119
"type": "CALL",
120
"value": "0x0"
121
}
122
],
123
"from": "0xa2c2ea849a07383684eed1123446d2325a56346c",
124
"gas": "0x2cbe4",
125
"gasUsed": "0x2661a",
126
"input": "0x7ff36ab500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c0000000000000000000000000000000000000000000000000000000063ab323b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c000000000000000000000000829a20ec98520f9878f49c311565cf4a86ea7cd1",
127
"output": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000277159899d4e86b1949c",
128
"to": "0x10ed43c718714eb63d5aa57b78b54704e256024e",
129
"type": "CALL",
130
"value": "0xde0b6b3a7640000"
131
}
132
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free