The debug_traceTransaction
RPC method retrieves a detailed execution trace of a transaction, identified by the transaction’s hash. This method is crucial for developers and analysts who need to understand the execution flow of a transaction, including all the operations (opcodes) executed, gas usage, and the transaction’s outcome.
Get you own node endpoint today
Start for free and get your app to production levels immediately. No credit card required.
You can sign up with your GitHub, X, Google, or Microsoft account.
To use debug_traceTransaction
, send a POST request with a JSON RPC call in the body.
string
): The hash of the transaction to trace.The response includes a detailed execution trace of the transaction, providing insights into each step of the transaction’s execution.
object
): The detailed execution trace, including:
array
): An array of execution steps (opcodes) taken by the transaction.integer
): The gas provided by the transaction.string
): The return value of the transaction, if any.integer
): The total gas used by the transaction.boolean
): Indicates whether the transaction failed.The debug_traceTransaction
method is essential for:
Detailed execution trace of the specified transaction
The response is of type object
.
The debug_traceTransaction
RPC method retrieves a detailed execution trace of a transaction, identified by the transaction’s hash. This method is crucial for developers and analysts who need to understand the execution flow of a transaction, including all the operations (opcodes) executed, gas usage, and the transaction’s outcome.
Get you own node endpoint today
Start for free and get your app to production levels immediately. No credit card required.
You can sign up with your GitHub, X, Google, or Microsoft account.
To use debug_traceTransaction
, send a POST request with a JSON RPC call in the body.
string
): The hash of the transaction to trace.The response includes a detailed execution trace of the transaction, providing insights into each step of the transaction’s execution.
object
): The detailed execution trace, including:
array
): An array of execution steps (opcodes) taken by the transaction.integer
): The gas provided by the transaction.string
): The return value of the transaction, if any.integer
): The total gas used by the transaction.boolean
): Indicates whether the transaction failed.The debug_traceTransaction
method is essential for:
Detailed execution trace of the specified transaction
The response is of type object
.