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.
transactionobjectRequired

Read-only transaction call object to simulate.

blockstring or enumRequired
Block number or supported block tag used as the execution context.
traceConfigobjectOptional
Optional trace configuration. Omit it or pass an empty object to use the default struct logger.

Response

Debug trace result for the simulated call.
StructLoggerResultobject

Default opcode-level struct logger result.

OR
CallTracerResultany
OR
PrestateTracerResultmap from strings to objects
Prestate tracer result keyed by dynamic account address.
OR
GenericTracerResultmap from strings to any

Client-specific output returned by named or custom tracers not modeled by the known schemas.