Skip to main content

arbtrace_replayBlockTransactions RPC Method

Replays all transactions in a block returning the requested traces for each transaction (Supported on Erigon).

Updated on
Feb 11, 2026
Please note that all arbtrace_ methods can be used on blocks prior to 22207816, while debug_trace methods can be used for blocks after 22207818. Block 22207817 cannot be traced but is empty.

Parameters

blockNumber
string

The block number

array
array
REQUIRED

The type of trace, which can be one of the following:

vmTrace
string

To get a full trace of virtual machine's state during the execution of the given of given transaction, including for any subcalls.

trace
string

To get the basic trace of the given transaction.

stateDiff
string

To get information on altered Ethereum state due to execution of the given 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)

output

The data which is returned as an output encoded in hexadecimal format

stateDiff

It returns the information on altered Ethereum state due to execution of the given transaction

trace

It is used to retrieve the basic trace of the given information

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

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 transaction hash

type

The value of the method such as call or create

vmTrace

The virtual machine traces

destroyedContracts

It tracks terminated contracts in a system

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"output": "0x",
7
"stateDiff": null,
8
"trace": [
9
{
10
"action": {
11
"callType": "call",
12
"from": "0xc22f47ebc79ec52b0aa5db9a47c6facffcc2ea42",
13
"gas": "0x101099",
14
"input": "0xc16cde8a0000000000000000000000002f2a2543b76a4166549f7aab2e75bef0aefc5b0f0000000000000000000000000000000000007654423e20948836741800000000000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc80000000000000000000000000000000000000601ad9a3d0992d414dc5a2aa09500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057caa5ae3a2c110f55776800000000000000000000000000000000000000000000000000000000000000000000000",
15
"to": "0x09f77e8a13de9a35a7231028187e9fd5db8a2acb",
16
"value": "0x110d96d098a00"
17
},
18
"result": {
19
"gasUsed": "0x56682",
20
"output": "0x"
21
},
22
"subtraces": 1,
23
"traceAddress": [],
24
"transactionHash": "0xd0dabd8eb8d054f2bb4ef37e982cb299296234371ab69b49cf1917f48c6461d5",
25
"type": "call"
26
},
27
{
28
"action": {
29
"callType": "call",
30
"from": "0x09f77e8a13de9a35a7231028187e9fd5db8a2acb",
31
"gas": "0xfce1a",
32
"input": "0xd0e30db0",
33
"to": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
34
"value": "0x110d96d098a00"
35
},
36
"result": {
37
"gasUsed": "0x40b",
38
"output": "0x"
39
},
40
"subtraces": 1,
41
"traceAddress": [
42
0
43
],
44
"transactionHash": "0xd0dabd8eb8d054f2bb4ef37e982cb299296234371ab69b49cf1917f48c6461d5",
45
"type": "call"
46
},
47
{
48
"action": {
49
"callType": "delegatecall",
50
"from": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
51
"gas": "0xf8def",
52
"input": "0xd0e30db0",
53
"to": "0x8b194beae1d3e0788a1a35173978001acdfba668",
54
"value": "0x110d96d098a00"
55
},
56
"result": {
57
"gasUsed": "0x2f9",
58
"output": "0x"
59
},
60
"subtraces": 0,
61
"traceAddress": [
62
0,
63
0
64
],
65
"transactionHash": "0xd0dabd8eb8d054f2bb4ef37e982cb299296234371ab69b49cf1917f48c6461d5",
66
"type": "call"
67
}
68
],
69
"vmTrace": null,
70
"destroyedContracts": null
71
}
72
]
73
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"output": "0x",
7
"stateDiff": null,
8
"trace": [
9
{
10
"action": {
11
"callType": "call",
12
"from": "0xc22f47ebc79ec52b0aa5db9a47c6facffcc2ea42",
13
"gas": "0x101099",
14
"input": "0xc16cde8a0000000000000000000000002f2a2543b76a4166549f7aab2e75bef0aefc5b0f0000000000000000000000000000000000007654423e20948836741800000000000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc80000000000000000000000000000000000000601ad9a3d0992d414dc5a2aa09500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057caa5ae3a2c110f55776800000000000000000000000000000000000000000000000000000000000000000000000",
15
"to": "0x09f77e8a13de9a35a7231028187e9fd5db8a2acb",
16
"value": "0x110d96d098a00"
17
},
18
"result": {
19
"gasUsed": "0x56682",
20
"output": "0x"
21
},
22
"subtraces": 1,
23
"traceAddress": [],
24
"transactionHash": "0xd0dabd8eb8d054f2bb4ef37e982cb299296234371ab69b49cf1917f48c6461d5",
25
"type": "call"
26
},
27
{
28
"action": {
29
"callType": "call",
30
"from": "0x09f77e8a13de9a35a7231028187e9fd5db8a2acb",
31
"gas": "0xfce1a",
32
"input": "0xd0e30db0",
33
"to": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
34
"value": "0x110d96d098a00"
35
},
36
"result": {
37
"gasUsed": "0x40b",
38
"output": "0x"
39
},
40
"subtraces": 1,
41
"traceAddress": [
42
0
43
],
44
"transactionHash": "0xd0dabd8eb8d054f2bb4ef37e982cb299296234371ab69b49cf1917f48c6461d5",
45
"type": "call"
46
},
47
{
48
"action": {
49
"callType": "delegatecall",
50
"from": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
51
"gas": "0xf8def",
52
"input": "0xd0e30db0",
53
"to": "0x8b194beae1d3e0788a1a35173978001acdfba668",
54
"value": "0x110d96d098a00"
55
},
56
"result": {
57
"gasUsed": "0x2f9",
58
"output": "0x"
59
},
60
"subtraces": 0,
61
"traceAddress": [
62
0,
63
0
64
],
65
"transactionHash": "0xd0dabd8eb8d054f2bb4ef37e982cb299296234371ab69b49cf1917f48c6461d5",
66
"type": "call"
67
}
68
],
69
"vmTrace": null,
70
"destroyedContracts": null
71
}
72
]
73
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free