debug_traceTransaction
debug_traceTransaction
Replays a transaction in its original block context and returns debug output for the selected tracer.
Request
This endpoint expects an object.
transactionHash
Hash of the transaction to replay.
traceConfig
Optional trace configuration. Omit it or pass an empty object to use the default struct logger.
Response
Debug trace result for the transaction.
StructLoggerResult
Default opcode-level struct logger result.
OR
CallTracerResult
OR
PrestateTracerResult
Prestate tracer result keyed by dynamic account address.
OR
GenericTracerResult
Client-specific output returned by named or custom tracers not modeled by the known schemas.