All Products

trace_replayBlockTransactions - Optimism Goerli


Summary

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


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

trace_replayBlockTransactions response example

Code Example

trace_replayBlockTransactions curl

Don’t have an Access Key?

Start using this API in your app today.

Get started for free