Home

debug_traceCall

POST
https://eth-archive.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Executes a read-only EVM call and traces its execution. The result format depends on tracer configuration: default opcode trace, callTracer, prestateTracer, or another supported tracer. An EVM revert may appear inside a successful JSON-RPC result.

Body

application/json

Transaction call object, block identifier, and optional tracing options.

Request payload for Trace call execution.

jsonrpcstring2.0required

JSON-RPC protocol version.

methodstringdebug_traceCallrequired

JSON-RPC method name.

paramsArray<TraceCallRequest | string | TraceConfig>required

[transactionCall, blockIdentifier, optionalTraceConfig]

Show child attributes
Any of
fromstring

Sender address

tostring

Destination address; omit for contract creation

gasstring

Hex gas limit

gasPricestring
maxFeePerGasstring
maxPriorityFeePerGasstring
valuestring
datastring

Hex calldata

inputstring

Alternative to data

string
tracerstring

Built-in tracer (callTracer, prestateTracer, 4byteTracer, noopTracer, muxTracer) or supported JavaScript tracer

tracerConfigobject

Tracer-specific options. prestateTracer: diffMode, disableCode, disableStorage. callTracer: onlyTopCall, withLog.

Show child attributes
diffModeboolean

prestateTracer: return pre/post changed state

disableCodeboolean
disableStorageboolean
onlyTopCallboolean
withLogboolean
timeoutstring

Tracer execution timeout, e.g. 5s

reexecinteger>= 0
disableStorageboolean
disableStackboolean
enableMemoryboolean
enableReturnDataboolean
idintegerrequired

Client-provided request identifier echoed in the response.

Response

200OK

Call execution trace

400Bad Request

Bad Request

401Unauthorized

Unauthorized: API key is present but rejected by the NOWNodes gateway.

405Method Not Allowed

Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.

422Unprocessable Entity

Missing API key. The NOWNodes gateway returns plain text for this error.

500Internal Server Error

Internal Server Error