Virtual TestNets are live! ⚡️ Test and stage dapps on real-time production data.  Schedule Office Hours

trace_replayTransaction - Polygon Mumbai


Summary

Replays a transaction, returning the traces.

Parameters

Transaction Hash TX Hash

Hash of a transaction to get information for
Example: 0x12345...

Trace Type Array 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