Skip to main content

trace_transaction RPC Method

Returns all traces of given transaction(Supported on Erigon).

Updated on
Jun 15, 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

hash
string
REQUIRED

The hash of a transaction

Returns

array
array

The block traces, which have the following fields (all return values are hexadecimal unless otherwise stated):

action
object

The action performed during the trace

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 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 included

blockNumber
integer

The block number where this transaction was included

result
object

The result of the trace execution

gasUsed
string

The gas used by this call, encoded as hexadecimal

output
string

The value returned by the contract call, or empty bytes if no RETURN was executed

subtraces
integer

The number of subtraces created by this transaction

traceAddress
array

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

transactionHash
string

The transaction hash

transactionPosition
integer

The transaction position within the block

type
string

The type of trace such as call or create

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": null
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": null
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free