Docs

debug_traceTransaction - Monad RPC Method

Trace a transaction execution on Monad. Requires archive node for debugging high-throughput DeFi, latency-sensitive trading, and scalable EVM applications.

Traces a transaction execution on Monad by transaction hash.

Archive Node Required

This method requires an archive node. It is not available on full nodes.

Use Cases

  • Transaction debugging - Understand exactly what happened
  • Failure analysis - Find where and why a transaction reverted
  • Gas optimization - Analyze gas usage for high-throughput DeFi, latency-sensitive trading, and scalable EVM applications

Tracer Options

  • {} - Default opcode tracer (verbose)
  • { tracer: "callTracer" } - Call tree tracer
  • { tracer: "prestateTracer" } - Pre-state tracer

Code Examples