Skip to main content

trace_replayBlockTransactions RPC Method

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

Updated on
Jun 10, 2026
This method requires appending /nanoreth to your HyperLiquid endpoint URL. Debug and Trace methods are not supported on /evm endpoints. Use /nanoreth instead of /evm to access tracing functionality.

Parameters

blockNumber
string
REQUIRED

The block number as a string in hexadecimal format or tags. The supported tag values include 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

array
array
REQUIRED

The type of trace, one or more of:

vmTrace
string

To get a full trace of the 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
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
string

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

stateDiff
object | null

Returns the information on altered Ethereum state due to execution of the given transaction, or null if not available

trace
array

Array of trace objects for the transaction

type
string

The value of the method such as call or create

action
object

The action to be performed on the receiver

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

error
string

(Optional) Error message if the transaction execution failed

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
number

The number of traces of contract calls made by the transaction

traceAddress
array

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

vmTrace
object | null

Full trace of the virtual machine's state during the execution of the given transaction, including for any sub-calls, or null if not available

transactionHash
string

The hash of the transaction

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free