Skip to main content

trace_transaction RPC Method

Returns all traces of given transaction(Trace Mode required, and supported only on OpenEthereum & Erigon).

Updated on
Jul 28, 2025

trace_transaction RPC Method

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

hash
string
REQUIRED
The hash of a transaction

Returns

result
array
The block traces, where each item represents a single trace entry. All numeric values are hexadecimal strings unless otherwise noted.
action
object
The action to be performed on the receiver id
from
string
The address of the sender
callType
string
The type of call, such as call, delegatecall, staticcall
gas
string
The gas provided by the sender, encoded as a hexadecimal string
input
string
The input data sent along with the transaction
to
string
The address of the receiver
value
string
The amount of wei transferred, encoded as a hexadecimal string
blockHash
string
The hash of the block that contains this trace
blockNumber
integer
The number of the block that contains this trace
result
object
The result of the call
gasUsed
string
The amount of gas used by this call
output
string
The return value from the call. If no RETURN opcode executed, this is empty bytes
subtraces
integer
The number of internal sub-calls made by this call
traceAddress
array
An array of integers representing the position in the call tree
transactionHash
string
The hash of the transaction this trace is part of
transactionPosition
integer
The index of the transaction in the block
type
string
The trace type (e.g., call, create)
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free