Skip to main content

trace_transaction RPC Method

Loading...

Updated on
Apr 06, 2026

trace_transaction RPC Method

Parameters

hash
string
REQUIRED
Loading...

Returns

array
Loading...
action
Loading...
from
Loading...
callType
Loading...
gas
Loading...
input
Loading...
to
Loading...
value
Loading...
blockHash
Loading...
blockNumber
Loading...
result
Loading...
gasUsed
Loading...
output
Loading...
subtraces
Loading...
traceAddress
Loading...
transactionHash
Loading...
transactionPosition
Loading...
type
Loading...
Request
1
curl -X POST "https://docs-demo.fantom.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "trace_transaction",
6
"params": [
7
"0x1fe56aa4fc2b833c2b17c92944e3c43f5ec93e561d3ff9750ebd838a20c3e21c"
8
],
9
"id": 1
10
}'
1
curl -X POST "https://docs-demo.fantom.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "trace_transaction",
6
"params": [
7
"0x1fe56aa4fc2b833c2b17c92944e3c43f5ec93e561d3ff9750ebd838a20c3e21c"
8
],
9
"id": 1
10
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"action": {
7
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
8
"callType": "call",
9
"gas": "0xee8b0",
10
"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012174e000000000000000000000000000000000000000000000000000000000659d4f9700000000000000000000000000000000000000000000000000000003949158772dd455b8f43b8a523ba6b51d397263f20e6550ec310b83562f455de04eaa3de900000000000000000000000000000000000000000000000000000000000000010000000000000000000000005050f69a9786f081509234f1a7f4684b5e5b76c900000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000a6fe0",
11
"to": "0x4200000000000000000000000000000000000015",
12
"value": "0x0"
13
},
14
"blockHash": "0x69e2ae442adf3bef34165fac8f3602b8cf9d5973fb883804f119286ce96f6eb8",
15
"blockNumber": 9009586,
16
"result": {
17
"gasUsed": "0xa07d",
18
"output": "0x"
19
},
20
"subtraces": 1,
21
"traceAddress": [],
22
"transactionHash": "0xbaa27fa540f50254c7200cacfb5c725174f96ae3198b653853e1353a9bdc03b2",
23
"transactionPosition": 0,
24
"type": "call"
25
},
26
{
27
"action": {
28
"from": "0x4200000000000000000000000000000000000015",
29
"callType": "delegatecall",
30
"gas": "0xe99f5",
31
"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012174e000000000000000000000000000000000000000000000000000000000659d4f9700000000000000000000000000000000000000000000000000000003949158772dd455b8f43b8a523ba6b51d397263f20e6550ec310b83562f455de04eaa3de900000000000000000000000000000000000000000000000000000000000000010000000000000000000000005050f69a9786f081509234f1a7f4684b5e5b76c900000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000a6fe0",
32
"to": "0xc0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d30015",
33
"value": "0x0"
34
},
35
"blockHash": "0x69e2ae442adf3bef34165fac8f3602b8cf9d5973fb883804f119286ce96f6eb8",
36
"blockNumber": 9009586,
37
"result": {
38
"gasUsed": "0x8cf4",
39
"output": "0x"
40
},
41
"subtraces": 0,
42
"traceAddress": [
43
0
44
],
45
"transactionHash": "0xbaa27fa540f50254c7200cacfb5c725174f96ae3198b653853e1353a9bdc03b2",
46
"transactionPosition": 0,
47
"type": "call"
48
}
49
]
50
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"action": {
7
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
8
"callType": "call",
9
"gas": "0xee8b0",
10
"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012174e000000000000000000000000000000000000000000000000000000000659d4f9700000000000000000000000000000000000000000000000000000003949158772dd455b8f43b8a523ba6b51d397263f20e6550ec310b83562f455de04eaa3de900000000000000000000000000000000000000000000000000000000000000010000000000000000000000005050f69a9786f081509234f1a7f4684b5e5b76c900000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000a6fe0",
11
"to": "0x4200000000000000000000000000000000000015",
12
"value": "0x0"
13
},
14
"blockHash": "0x69e2ae442adf3bef34165fac8f3602b8cf9d5973fb883804f119286ce96f6eb8",
15
"blockNumber": 9009586,
16
"result": {
17
"gasUsed": "0xa07d",
18
"output": "0x"
19
},
20
"subtraces": 1,
21
"traceAddress": [],
22
"transactionHash": "0xbaa27fa540f50254c7200cacfb5c725174f96ae3198b653853e1353a9bdc03b2",
23
"transactionPosition": 0,
24
"type": "call"
25
},
26
{
27
"action": {
28
"from": "0x4200000000000000000000000000000000000015",
29
"callType": "delegatecall",
30
"gas": "0xe99f5",
31
"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012174e000000000000000000000000000000000000000000000000000000000659d4f9700000000000000000000000000000000000000000000000000000003949158772dd455b8f43b8a523ba6b51d397263f20e6550ec310b83562f455de04eaa3de900000000000000000000000000000000000000000000000000000000000000010000000000000000000000005050f69a9786f081509234f1a7f4684b5e5b76c900000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000a6fe0",
32
"to": "0xc0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d30015",
33
"value": "0x0"
34
},
35
"blockHash": "0x69e2ae442adf3bef34165fac8f3602b8cf9d5973fb883804f119286ce96f6eb8",
36
"blockNumber": 9009586,
37
"result": {
38
"gasUsed": "0x8cf4",
39
"output": "0x"
40
},
41
"subtraces": 0,
42
"traceAddress": [
43
0
44
],
45
"transactionHash": "0xbaa27fa540f50254c7200cacfb5c725174f96ae3198b653853e1353a9bdc03b2",
46
"transactionPosition": 0,
47
"type": "call"
48
}
49
]
50
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free