Skip to main content

trace_block RPC Method

Returns traces created at given block (Supported on Erigon).

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

blockNumber
string
REQUIRED

The block number as a string in hexadecimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions, safe for the most recent secure block, and finalized for the most recent secure block accepted by more than 2/3 of validators. safe and finalized are only supported on Ethereum and Gnosis

Returns

array
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
object

The ParityTrace object, which has the following fields:

from
string

The address of the sender

callType
string

The type of method such as call, delegatecall

gas
string

The gas provided by the sender, encoded as hexadecimal

input
string

The data sent along with the transaction

to
string

The address of the receiver

value
string

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

blockHash
string

The hash of the block where this transaction was in

blockNumber
integer

An integer value representing the block number where this transaction was in

error
string

The error message, if any

result
object

The ParityTraceResult object which has the following fields:

gasUsed
string

The amount of gas used by this specific transaction alone

output
string

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
integer

The traces of contract calls made by the transaction

traceAddress
array

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

transactionHash
string

The hash of the transaction

transactionPosition
integer

The transaction position

type
string

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": "0xa06c3c08a19e51b33309eddfb356c33ead8517a3",
8
"callType": "call",
9
"gas": "0x23c30",
10
"input": "0x00000055000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000ccb93d0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000003da1313ae46132a397d90d95b1424a9a7e3e0fce000000000000000000000000fa6de2697d59e88ed7fc4dfe5a33dac43565ea41000000000000000000000000fa6de2697d59e88ed7fc4dfe5a33dac43565ea410000000000000000000000008dcba0b75c1038c4babbdc0ff3bd9a8f6979dd13000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003400000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000003da1313ae46132a397d90d95b1424a9a7e3e0fce000000000000000000000000000000000000000000000000359b994a1cd0f8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000108c24b47b23b1c1cba000000000000000000000000ec001d0000004536cad29291f4000000d029abb20000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000645db34277000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52000000000000000000000000000000000000000000000108c24b47b23b1c1cba00000000000000000000000000000000000000000000000900e43c0913bd8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000008dcba0b75c1038c4babbdc0ff3bd9a8f6979dd1300000000000000000000000000000000000000000000000900e43c0913bd80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4022c0d9f000000000000000000000000000000000000000000000000362804ffdb77a1630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ec001d0000004536cad29291f4000000d029abb200000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
11
"to": "0xec001d0000004536cad29291f4000000d029abb2",
12
"value": "0x0"
13
},
14
"blockHash": "0x0f2f119abec183c8794b9a7c9014deb87cc8af3f91eaa976e55363bd5748794f",
15
"blockNumber": 13416765,
16
"result": {
17
"gasUsed": "0x203b8",
18
"output": "0x"
19
},
20
"subtraces": 5,
21
"traceAddress": [],
22
"transactionHash": "0x9fae42bbd5b3676bf336db6dab601a60065a4b18bad8a186f2d61ad474edcfd8",
23
"transactionPosition": 0,
24
"type": "call"
25
},
26
{
27
"action": {
28
"from": "0xec001d0000004536cad29291f4000000d029abb2",
29
"callType": "call",
30
"gas": "0x22c00",
31
"input": "0xa9059cbb0000000000000000000000003da1313ae46132a397d90d95b1424a9a7e3e0fce000000000000000000000000000000000000000000000000359b994a1cd0f800",
32
"to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
33
"value": "0x0"
34
},
35
"blockHash": "0x0f2f119abec183c8794b9a7c9014deb87cc8af3f91eaa976e55363bd5748794f",
36
"blockNumber": 13416765,
37
"result": {
38
"gasUsed": "0x229e",
39
"output": "0x0000000000000000000000000000000000000000000000000000000000000001"
40
},
41
"subtraces": 0,
42
"traceAddress": [
43
0
44
],
45
"transactionHash": "0x9fae42bbd5b3676bf336db6dab601a60065a4b18bad8a186f2d61ad474edcfd8",
46
"transactionPosition": 0,
47
"type": "call"
48
},
49
{
50
"action": {
51
"from": "0xec001d0000004536cad29291f4000000d029abb2",
52
"callType": "call",
53
"gas": "0x2051a",
54
"input": "0x022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000108c24b47b23b1c1cba000000000000000000000000ec001d0000004536cad29291f4000000d029abb2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
55
"to": "0x3da1313ae46132a397d90d95b1424a9a7e3e0fce",
56
"value": "0x0"
57
},
58
"blockHash": "0x0f2f119abec183c8794b9a7c9014deb87cc8af3f91eaa976e55363bd5748794f",
59
"blockNumber": 13416765,
60
"result": {
61
"gasUsed": "0x8a28",
62
"output": "0x"
63
},
64
"subtraces": 3,
65
"traceAddress": [
66
1
67
],
68
"transactionHash": "0x9fae42bbd5b3676bf336db6dab601a60065a4b18bad8a186f2d61ad474edcfd8",
69
"transactionPosition": 0,
70
"type": "call"
71
}
72
],
73
"_truncated": true,
74
"_note": "Response truncated for documentation. Original had 826 total items, showing 5."
75
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"action": {
7
"from": "0xa06c3c08a19e51b33309eddfb356c33ead8517a3",
8
"callType": "call",
9
"gas": "0x23c30",
10
"input": "0x00000055000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000ccb93d0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000003da1313ae46132a397d90d95b1424a9a7e3e0fce000000000000000000000000fa6de2697d59e88ed7fc4dfe5a33dac43565ea41000000000000000000000000fa6de2697d59e88ed7fc4dfe5a33dac43565ea410000000000000000000000008dcba0b75c1038c4babbdc0ff3bd9a8f6979dd13000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003400000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000003da1313ae46132a397d90d95b1424a9a7e3e0fce000000000000000000000000000000000000000000000000359b994a1cd0f8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000108c24b47b23b1c1cba000000000000000000000000ec001d0000004536cad29291f4000000d029abb20000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000645db34277000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52000000000000000000000000000000000000000000000108c24b47b23b1c1cba00000000000000000000000000000000000000000000000900e43c0913bd8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000008dcba0b75c1038c4babbdc0ff3bd9a8f6979dd1300000000000000000000000000000000000000000000000900e43c0913bd80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4022c0d9f000000000000000000000000000000000000000000000000362804ffdb77a1630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ec001d0000004536cad29291f4000000d029abb200000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
11
"to": "0xec001d0000004536cad29291f4000000d029abb2",
12
"value": "0x0"
13
},
14
"blockHash": "0x0f2f119abec183c8794b9a7c9014deb87cc8af3f91eaa976e55363bd5748794f",
15
"blockNumber": 13416765,
16
"result": {
17
"gasUsed": "0x203b8",
18
"output": "0x"
19
},
20
"subtraces": 5,
21
"traceAddress": [],
22
"transactionHash": "0x9fae42bbd5b3676bf336db6dab601a60065a4b18bad8a186f2d61ad474edcfd8",
23
"transactionPosition": 0,
24
"type": "call"
25
},
26
{
27
"action": {
28
"from": "0xec001d0000004536cad29291f4000000d029abb2",
29
"callType": "call",
30
"gas": "0x22c00",
31
"input": "0xa9059cbb0000000000000000000000003da1313ae46132a397d90d95b1424a9a7e3e0fce000000000000000000000000000000000000000000000000359b994a1cd0f800",
32
"to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
33
"value": "0x0"
34
},
35
"blockHash": "0x0f2f119abec183c8794b9a7c9014deb87cc8af3f91eaa976e55363bd5748794f",
36
"blockNumber": 13416765,
37
"result": {
38
"gasUsed": "0x229e",
39
"output": "0x0000000000000000000000000000000000000000000000000000000000000001"
40
},
41
"subtraces": 0,
42
"traceAddress": [
43
0
44
],
45
"transactionHash": "0x9fae42bbd5b3676bf336db6dab601a60065a4b18bad8a186f2d61ad474edcfd8",
46
"transactionPosition": 0,
47
"type": "call"
48
},
49
{
50
"action": {
51
"from": "0xec001d0000004536cad29291f4000000d029abb2",
52
"callType": "call",
53
"gas": "0x2051a",
54
"input": "0x022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000108c24b47b23b1c1cba000000000000000000000000ec001d0000004536cad29291f4000000d029abb2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
55
"to": "0x3da1313ae46132a397d90d95b1424a9a7e3e0fce",
56
"value": "0x0"
57
},
58
"blockHash": "0x0f2f119abec183c8794b9a7c9014deb87cc8af3f91eaa976e55363bd5748794f",
59
"blockNumber": 13416765,
60
"result": {
61
"gasUsed": "0x8a28",
62
"output": "0x"
63
},
64
"subtraces": 3,
65
"traceAddress": [
66
1
67
],
68
"transactionHash": "0x9fae42bbd5b3676bf336db6dab601a60065a4b18bad8a186f2d61ad474edcfd8",
69
"transactionPosition": 0,
70
"type": "call"
71
}
72
],
73
"_truncated": true,
74
"_note": "Response truncated for documentation. Original had 826 total items, showing 5."
75
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free