Skip to main content
Returns all traces of a given transaction. This method will use 80 Compute Units.

Parameters

All parameters below are Required: transactionHash - String - The transaction hash to be traced. object - Object - The tracer object with the following fields:
  • tracer - String - The type of tracer, options are: callTracer or prestateTracer.
    • callTracer - String - The callTracer keeps track of all call frames, including depth - calls, that are made during a transaction.
    • prestateTracer - String - The prestateTracer replays the transaction and trackers every part of state that occurred during the transaction.

Returns

result - An object with the result of the trace, containing:
  • from - The address the transaction is sent from.
  • gas - The integer of the gas provided for the transaction execution.
  • gasUsed - The integer of the gas used.
  • to - The address the transaction is directed to.
  • input - The data given at the time of input.
  • value - The integer of the value sent with this transaction.
  • type - The type of call.