Docs

trace_replayBlockTransactions - MegaETH RPC Method

Replay all transactions in a block and return traces on MegaETH. Requires archive node for high-frequency trading, real-time gaming, instant payments, and latency-sensitive applications.

Replays all transactions in a block on MegaETH and returns the requested traces.

Archive Node Required

This method requires an archive node. It is not available on full nodes.

Use Cases

  • Block replay - Re-execute all transactions with full trace output
  • State diff analysis - Get state changes for every transaction in a block
  • VM trace extraction - Obtain detailed EVM execution traces for high-frequency trading, real-time gaming, instant payments, and latency-sensitive applications

Response Body

Response

Code Examples