debug_traceTransaction

Attempts to run the transaction in the exact same manner as it was executed on the network.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Transaction hashstringRequiredformat: "^0x[0-9a-f]{64}$"
Hash of the transaction to be traced.
OptionsobjectOptional
Options for the call.

Response

Trace for the transaction.
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.