trace_call

Executes a call and returns one or more possible traces.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
transactionobjectRequired
Transaction call object. Contains call parameters such as "from", "to", "gas", "gasPrice", "value", and "data".
traceTypeslist of enumsRequired
Array of trace types to return. Valid values include "trace" and "stateDiff".
Allowed values:
blockIdentifierstringOptional

Optional block identifier (block number in hex, block hash, or tag like “latest”).

Response

Returns the trace result for the given call.
outputstring or null
stateDiffstring or null
tracelist of objects or null
vmTracestring or null