debug_traceCall

Runs an eth_call within the context of the given block execution using the final state of parent block as the base.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Transaction ObjectobjectRequired
The transaction call object.
Block identifierstring or enumRequired

Block hash, block number (in hex), or block tag.

TracerobjectOptional
Tracer object for the call.

Response

Array of call traces.
typestring or null
CALL or CREATE
fromstring or null

20-byte address of the caller

tostring or null

20-byte address of the recipient. Null when its a contract creation transaction.

valuestring or null

Amount of value included in the transfer (in hex)

gasstring or null

Amount of gas provided for the call (in hex)

gasUsedstring or null

Amount of gas used during the call (in hex)

inputstring or null
Call data
outputstring or null
Return data
errorstring or null
Error message, if any.
revertReasonstring or null
Solidity revert reason, if any.
callslist of objects or null

Array of sub-calls made within the transaction.