Skip to main content

trace_transaction RPC Method

Returns all traces of given transaction(Supported on Erigon).

Updated on
May 06, 2026
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

hash
string
REQUIRED

The hash of a transaction

Returns

array

The block traces, which have the following fields (please note that all return types are hexadecimal representations of their data type unless otherwise stated):

action

The action to be performed on the receiver id

from

The address of the sender

callType

The type of method such as call, delegatecall

gas

The gas provided by the sender, encoded as hexadecimal

input

The data sent along with the transaction

to

The address of the receiver

value

The integer of the value sent with this transaction, encoded as hexadecimal

blockHash

The hash of the block where this transaction was in

blockNumber

The block number where this transaction was in

result

The integer of the gas price used encoded as hexadecimal

gasUsed

The total used gas by all transactions in this block encoded as hexadecimal

output

The value returned by the contract call, and it only contains the actual value sent by the RETURN method. If the RETURN method was not executed, the output is empty bytes

subtraces

The traces of contract calls made by the transaction

traceAddress

The list of addresses where the call was executed, the address of the parents, and the order of the current sub call

transactionHash

The hash of the transaction

transactionPosition

The transaction position

type

The value of the method such as call or create

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"action": {
7
"from": "0xc96909cd052f6000ffaf3e9ff17f9c2047cfd1b8",
8
"callType": "call",
9
"gas": "0x3c559c",
10
"input": "0x00003a1fb3cf6e48f1e7b10213e7b6d87d4c073c7fdb7b01f40200000a478946bcd4a5a22b316470f5486fafb928c0ba2501900300006404f6c85a1b00f6d9b75f91fd23835974cc07e65c006402000001e5cf854f63152067059afd38e03fefb6cbe25df30bb8030000c84dc22588ade05c40338a9d95a6da9dcee68bcd6001f4030000c88f47041adbef5bf321c9f63a0660326614ab6b60271001000000e9e3893921de87b1194a8108f9d70c24bde71c270bb80200003c319c0dd36284ac24a6b2bee73929f699b9f48c3801f403000064adab76dd2dca7ae080a796f0ce86170e482afb4a0bb80200003c39ed27d101aa4b7ce1cb4293b877954b8b5e14e50bb8030000c8a0a215de234276cac1b844fd58901351a50fec8a23280100000077be39a5102abb7d1caaba35076014177c171fc30bb801000000ba41b5891ccb839fb81bc186ff41a593d1832ba70bb80200003cfc1f3296458f9b2a27a0b91dd7681c4020e09d0501f40200000a85149247691df622eaf1a8bd0cafd40bc45154a901f40200000aa7bb0d95c6ba0ed0aca70c503b34bc7108589a4701f40200000a85c31ffa3706d1cce9d525a00f1c7d4a2911754c01f40200000a2ab22ac86b25bd448a4d9dc041bd2384655299c400640200000103af20bdaaffb4cc0a521796a223f7d85e2aac310bb80200003cd28f71e383e93c570d3edfe82ebbceb35ec6c412006402000001b533c12fb4e7b53b5524eab9b47d93ff6c7a456f0bb80200003cdff90e4a6c229565f25337b1db9fa12f6d8cb1180bb801000000ff7fbdf7832ae524deda39ca402e03d92adff7a50bb80200003c186c67654d0677dc3d64b01a2f72f196cd9bece90050030000010f0509443b7fca172f5428580468a403b29245040bb801000000d136c422e8e4e270edb432cdbd9b405a73b6daec01f40200000a0df083de449f75691fc5a36477a6f3284c2691080bb801000000bcfac19a0036ada56496316ee5cf388c2af2bf580bb80200003c67f56ac099f11ad5f65e2ec804f75f2cea6ab8c50bb80100000068f5c0a2de713a54991e01858fd27a38324018490bb80200003c0a8f0d4b3de04afade29ca0c84743177c4bcebb6271001000000a925ef1ef90e2932fd4cb0554d1f34cf2ee00d960bb8010000002f7708fd509d7a60ace6ab22e1e19b3d60e4f77a0bb800000000b51723802c34ac5615a39bb115451e1a94d389630bb800000000e90ee607656af93ead3b86bdb5f6df1a25d43ca00bb800000000e0b1da86d17b884c4d246e218a67ae3466ad841c0bb801000000535541f1aa08416e69dc4d610131099fa2ae72220bb80200003c8d65c65bef330f63787b73951bf5b80c6a63f4370bb80200003c6e662fbade14f64e52554f94eb75cb672f8862a00bb80200003cff202313e26974cfc4ab0121c485ba54303a2e41012c0200000a0392b358ce4547601befa962680bede836606ae20bb80200003cf25bbc18a607bbe218c87ba1ff0e673d9b53dd580bb8030000c88949a8e02998d76d7a703cac9ee7e0f529828011006403000001ec3d9098bd40ec741676fc04d4bd26bccf592aa30bb8030000c8c08a890aaecd8f99ae9f09cd34fdb995d5efb08a01f40100000072aba20779797904bd395b7c69b4f9fb29cbb6530bb8010000001d72b49f81832ef8155d8dedfce9cd122367e3b301f40300006470b98cbe4167d96821c7d2119be8b0544a7efd932710020000c8f117719d5460ed6090814213433cb8d4e07bd5830bb80100000010df8a154c806f74c589466214b1c831c23151730bb80100000092fb369363498d8bfefc4eb705d8c91a51d22c450bb8010000002ab2683a9eea7d62309f25b7e8bb6566cbfd2cfe0bb8010000002b959ccb3c8fc1ed7769004742c197e28251027e003202000001b40da71c49c745dd3ab801882b1d410760541678006402000001182190c105e4ef78778fba2cb23e845bdbc8b8f70bb80200003cd7508a9b351c7c7d2754eee236bdfd56870693fc01f4010000003249e3e3e4133ee18e65347daf586610cc265f542710020000c8ee1bac98527a9fdd57fccf967817215b083ce1f001f4030000641e0200010003020304000100020506010307080101000103090a01010001020b0c0002040d01030e0f100100000301110e0001000312130101000103011404000100021516000317181901010003041a0e01010002091b0103001c1d000100031e1f1b0001000320212201000003002324000100032526270100010328290101000103102a2b010100032c2d0d000100032e1301010001032f3027000001033132090100000331330d0100000334350c0001010336373801000103023900000001",
11
"to": "0x2642f2b26cce1b96f2a94ee1660d5e7c7b9839e6",
12
"value": "0x0"
13
},
14
"blockHash": "0xcf2f27e09a8e506cd05314d64be0e8c252d0d92d163029db5f530eddb77555e1",
15
"blockNumber": 126811137,
16
"result": {
17
"gasUsed": "0xbfda0",
18
"output": "0x"
19
},
20
"subtraces": 70,
21
"traceAddress": [],
22
"transactionHash": "0xcf5361154eb22793e2680276676b5a7d2fcad623d29b454f7adf4ee9014bf959",
23
"transactionPosition": 12,
24
"type": "call"
25
},
26
{
27
"action": {
28
"from": "0x2642f2b26cce1b96f2a94ee1660d5e7c7b9839e6",
29
"callType": "staticcall",
30
"gas": "0x3a98",
31
"input": "0x3850c7bd",
32
"to": "0x1fb3cf6e48f1e7b10213e7b6d87d4c073c7fdb7b",
33
"value": "0x0"
34
},
35
"blockHash": "0xcf2f27e09a8e506cd05314d64be0e8c252d0d92d163029db5f530eddb77555e1",
36
"blockNumber": 126811137,
37
"result": {
38
"gasUsed": "0xa88",
39
"output": "0x0000000000000000000000000000000000004c30488d9bf64607e09562769ed400000000000000000000000000000000000000000000000000000000000303c9000000000000000000000000000000000000000000000000000000000000040800000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
40
},
41
"subtraces": 0,
42
"traceAddress": [
43
0
44
],
45
"transactionHash": "0xcf5361154eb22793e2680276676b5a7d2fcad623d29b454f7adf4ee9014bf959",
46
"transactionPosition": 12,
47
"type": "call"
48
},
49
{
50
"action": {
51
"from": "0x2642f2b26cce1b96f2a94ee1660d5e7c7b9839e6",
52
"callType": "staticcall",
53
"gas": "0x3a98",
54
"input": "0x3850c7bd",
55
"to": "0x478946bcd4a5a22b316470f5486fafb928c0ba25",
56
"value": "0x0"
57
},
58
"blockHash": "0xcf2f27e09a8e506cd05314d64be0e8c252d0d92d163029db5f530eddb77555e1",
59
"blockNumber": 126811137,
60
"result": {
61
"gasUsed": "0x14e1",
62
"output": "0x0000000000000000000000000000000000004c30825248f35333dc4c057db4ef00000000000000000000000000000000000000000000000000000000000303c9000000000000000000000000000000000000000000000000000000000000044600000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000001"
63
},
64
"subtraces": 1,
65
"traceAddress": [
66
1
67
],
68
"transactionHash": "0xcf5361154eb22793e2680276676b5a7d2fcad623d29b454f7adf4ee9014bf959",
69
"transactionPosition": 12,
70
"type": "call"
71
}
72
]
73
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"action": {
7
"from": "0xc96909cd052f6000ffaf3e9ff17f9c2047cfd1b8",
8
"callType": "call",
9
"gas": "0x3c559c",
10
"input": "0x00003a1fb3cf6e48f1e7b10213e7b6d87d4c073c7fdb7b01f40200000a478946bcd4a5a22b316470f5486fafb928c0ba2501900300006404f6c85a1b00f6d9b75f91fd23835974cc07e65c006402000001e5cf854f63152067059afd38e03fefb6cbe25df30bb8030000c84dc22588ade05c40338a9d95a6da9dcee68bcd6001f4030000c88f47041adbef5bf321c9f63a0660326614ab6b60271001000000e9e3893921de87b1194a8108f9d70c24bde71c270bb80200003c319c0dd36284ac24a6b2bee73929f699b9f48c3801f403000064adab76dd2dca7ae080a796f0ce86170e482afb4a0bb80200003c39ed27d101aa4b7ce1cb4293b877954b8b5e14e50bb8030000c8a0a215de234276cac1b844fd58901351a50fec8a23280100000077be39a5102abb7d1caaba35076014177c171fc30bb801000000ba41b5891ccb839fb81bc186ff41a593d1832ba70bb80200003cfc1f3296458f9b2a27a0b91dd7681c4020e09d0501f40200000a85149247691df622eaf1a8bd0cafd40bc45154a901f40200000aa7bb0d95c6ba0ed0aca70c503b34bc7108589a4701f40200000a85c31ffa3706d1cce9d525a00f1c7d4a2911754c01f40200000a2ab22ac86b25bd448a4d9dc041bd2384655299c400640200000103af20bdaaffb4cc0a521796a223f7d85e2aac310bb80200003cd28f71e383e93c570d3edfe82ebbceb35ec6c412006402000001b533c12fb4e7b53b5524eab9b47d93ff6c7a456f0bb80200003cdff90e4a6c229565f25337b1db9fa12f6d8cb1180bb801000000ff7fbdf7832ae524deda39ca402e03d92adff7a50bb80200003c186c67654d0677dc3d64b01a2f72f196cd9bece90050030000010f0509443b7fca172f5428580468a403b29245040bb801000000d136c422e8e4e270edb432cdbd9b405a73b6daec01f40200000a0df083de449f75691fc5a36477a6f3284c2691080bb801000000bcfac19a0036ada56496316ee5cf388c2af2bf580bb80200003c67f56ac099f11ad5f65e2ec804f75f2cea6ab8c50bb80100000068f5c0a2de713a54991e01858fd27a38324018490bb80200003c0a8f0d4b3de04afade29ca0c84743177c4bcebb6271001000000a925ef1ef90e2932fd4cb0554d1f34cf2ee00d960bb8010000002f7708fd509d7a60ace6ab22e1e19b3d60e4f77a0bb800000000b51723802c34ac5615a39bb115451e1a94d389630bb800000000e90ee607656af93ead3b86bdb5f6df1a25d43ca00bb800000000e0b1da86d17b884c4d246e218a67ae3466ad841c0bb801000000535541f1aa08416e69dc4d610131099fa2ae72220bb80200003c8d65c65bef330f63787b73951bf5b80c6a63f4370bb80200003c6e662fbade14f64e52554f94eb75cb672f8862a00bb80200003cff202313e26974cfc4ab0121c485ba54303a2e41012c0200000a0392b358ce4547601befa962680bede836606ae20bb80200003cf25bbc18a607bbe218c87ba1ff0e673d9b53dd580bb8030000c88949a8e02998d76d7a703cac9ee7e0f529828011006403000001ec3d9098bd40ec741676fc04d4bd26bccf592aa30bb8030000c8c08a890aaecd8f99ae9f09cd34fdb995d5efb08a01f40100000072aba20779797904bd395b7c69b4f9fb29cbb6530bb8010000001d72b49f81832ef8155d8dedfce9cd122367e3b301f40300006470b98cbe4167d96821c7d2119be8b0544a7efd932710020000c8f117719d5460ed6090814213433cb8d4e07bd5830bb80100000010df8a154c806f74c589466214b1c831c23151730bb80100000092fb369363498d8bfefc4eb705d8c91a51d22c450bb8010000002ab2683a9eea7d62309f25b7e8bb6566cbfd2cfe0bb8010000002b959ccb3c8fc1ed7769004742c197e28251027e003202000001b40da71c49c745dd3ab801882b1d410760541678006402000001182190c105e4ef78778fba2cb23e845bdbc8b8f70bb80200003cd7508a9b351c7c7d2754eee236bdfd56870693fc01f4010000003249e3e3e4133ee18e65347daf586610cc265f542710020000c8ee1bac98527a9fdd57fccf967817215b083ce1f001f4030000641e0200010003020304000100020506010307080101000103090a01010001020b0c0002040d01030e0f100100000301110e0001000312130101000103011404000100021516000317181901010003041a0e01010002091b0103001c1d000100031e1f1b0001000320212201000003002324000100032526270100010328290101000103102a2b010100032c2d0d000100032e1301010001032f3027000001033132090100000331330d0100000334350c0001010336373801000103023900000001",
11
"to": "0x2642f2b26cce1b96f2a94ee1660d5e7c7b9839e6",
12
"value": "0x0"
13
},
14
"blockHash": "0xcf2f27e09a8e506cd05314d64be0e8c252d0d92d163029db5f530eddb77555e1",
15
"blockNumber": 126811137,
16
"result": {
17
"gasUsed": "0xbfda0",
18
"output": "0x"
19
},
20
"subtraces": 70,
21
"traceAddress": [],
22
"transactionHash": "0xcf5361154eb22793e2680276676b5a7d2fcad623d29b454f7adf4ee9014bf959",
23
"transactionPosition": 12,
24
"type": "call"
25
},
26
{
27
"action": {
28
"from": "0x2642f2b26cce1b96f2a94ee1660d5e7c7b9839e6",
29
"callType": "staticcall",
30
"gas": "0x3a98",
31
"input": "0x3850c7bd",
32
"to": "0x1fb3cf6e48f1e7b10213e7b6d87d4c073c7fdb7b",
33
"value": "0x0"
34
},
35
"blockHash": "0xcf2f27e09a8e506cd05314d64be0e8c252d0d92d163029db5f530eddb77555e1",
36
"blockNumber": 126811137,
37
"result": {
38
"gasUsed": "0xa88",
39
"output": "0x0000000000000000000000000000000000004c30488d9bf64607e09562769ed400000000000000000000000000000000000000000000000000000000000303c9000000000000000000000000000000000000000000000000000000000000040800000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
40
},
41
"subtraces": 0,
42
"traceAddress": [
43
0
44
],
45
"transactionHash": "0xcf5361154eb22793e2680276676b5a7d2fcad623d29b454f7adf4ee9014bf959",
46
"transactionPosition": 12,
47
"type": "call"
48
},
49
{
50
"action": {
51
"from": "0x2642f2b26cce1b96f2a94ee1660d5e7c7b9839e6",
52
"callType": "staticcall",
53
"gas": "0x3a98",
54
"input": "0x3850c7bd",
55
"to": "0x478946bcd4a5a22b316470f5486fafb928c0ba25",
56
"value": "0x0"
57
},
58
"blockHash": "0xcf2f27e09a8e506cd05314d64be0e8c252d0d92d163029db5f530eddb77555e1",
59
"blockNumber": 126811137,
60
"result": {
61
"gasUsed": "0x14e1",
62
"output": "0x0000000000000000000000000000000000004c30825248f35333dc4c057db4ef00000000000000000000000000000000000000000000000000000000000303c9000000000000000000000000000000000000000000000000000000000000044600000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000001"
63
},
64
"subtraces": 1,
65
"traceAddress": [
66
1
67
],
68
"transactionHash": "0xcf5361154eb22793e2680276676b5a7d2fcad623d29b454f7adf4ee9014bf959",
69
"transactionPosition": 12,
70
"type": "call"
71
}
72
]
73
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free