Skip to main content

trace_block RPC Method

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

Updated on
Mar 20, 2026
Please note that this RPC method is available to all users on the Build plan and higher. If you are using the Free plan, you will need to upgrade to utilize this method. See our pricing for more information.

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 (all return types are hexadecimal unless otherwise noted)

action
object

The ParityTrace action object containing call details

from
string

The address of the sender

callType
string

The type of method such as call, staticcall, delegatecall

gas
string

The gas provided by the sender, encoded as hexadecimal

input
string

The input 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

The block number where this transaction was in

result
object

The ParityTrace result object containing execution outcome

gasUsed
string

The amount of gas used by this specific transaction

output
string

The return value of the contract call, empty if no RETURN executed

subtraces
integer

The number of subtraces (internal calls) made by the transaction

traceAddress
array

The list of addresses where the call executed, including parent addresses and call order

transactionHash
string

The hash of the transaction

transactionPosition
integer

The transaction index position within the block

type
string

The type of the trace, such as call or create

error
string

The error message, if any

Request
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
}
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
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free