debug_traceCall
debug_traceCall
Runs a read-only eth_call-style transaction in the selected block context and returns debug output for the selected tracer.
Request
This endpoint expects an object.
transaction
Read-only transaction call object to simulate.
block
Block number or supported block tag used as the execution context.
traceConfig
Optional trace configuration. Omit it or pass an empty object to use the default struct logger.
Response
Debug trace result for the simulated call.
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.