debug_traceTransaction
Debug and Trace | Monad
debug_traceTransaction | Monad
Monad API method that returns a detailed trace of a transaction’s execution. This method provides step-by-step execution information.
POST
debug_traceTransaction
Monad API method that returns a detailed trace of a transaction’s execution. This method provides step-by-step execution information, which is essential for debugging failed transactions and understanding contract behavior.
Get your own node endpoint todayStart 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.
Parameters
data— the 32-byte hash of the transaction to trace.object(optional) — the tracer options:tracer— the tracer to use (e.g.,callTracer,prestateTracer)tracerConfig— configuration options for the tracertimeout— timeout for the trace operation
Response
result— the trace result object. The structure depends on the tracer used:- For
callTracer:type— the call type (CALL, CREATE, etc.)from— sender addressto— recipient addressvalue— value transferredgas— gas providedgasUsed— gas usedinput— call dataoutput— return datacalls— nested calls
- For
debug_traceTransaction code examples
Use case
A practical use case fordebug_traceTransaction is debugging failed transactions to identify the exact point of failure, or analyzing the complete call graph of complex multi-contract interactions.Last modified on May 18, 2026