🤔 Got questions? Schedule an office hours session.

trace_replayBlockTransactions - Metis Andromeda


Summary

Replays all transactions in a block returning the requested traces for each transaction.

Parameters

1. Block Number Quantity or Tag

Hex block number, or the tag latest, earliest, pending, finalized or safe
Example: latest or pending

2. Trace Type String[]

An array of desired traces, which can be one of the following:

  • vmTrace to get a full trace of the virtual machine's state during the execution of the given of given transaction, including for any subcells;
  • trace to get the basic trace of the given transaction;
  • stateDiff to get information on altered Ethereum state due to execution of the given transaction.
Example: trace

Code Examples