Returns detailed trace information for a specific transaction. This method provides comprehensive debugging information including call traces, state changes, and execution details.
debug_traceTransaction JSON-RPC method returns detailed trace information for a specific transaction. This method provides comprehensive debugging information including call traces, gas usage, state changes, and execution details, making it essential for transaction analysis, debugging, and forensic investigations.
tracer (string): The type of tracer to use. Common options include:
"callTracer": Provides detailed call trace information"prestateTracer": Shows state before transaction execution"4byteTracer": Tracks function selector usagetype — The type of call (CALL, DELEGATECALL, STATICCALL, CREATE, etc.)from — The address that initiated the callto — The address that received the callvalue — The value transferred in the callgas — The amount of gas allocated for the callgasUsed — The amount of gas actually consumedinput — The input data for the calloutput — The output data returned by the callcalls — Array of sub-calls made during executiondebug_traceTransaction method is essential for applications that need to:
JSON-RPC version
2.0 The RPC method name
debug_traceTransaction Parameters: [transactionHash, tracerConfig]
Request identifier