Docs

trace_replayTransaction - MegaETH RPC Method

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

Replays a transaction 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

  • Transaction replay - Re-execute a transaction with full trace output
  • State diff extraction - Get exact state changes from a transaction
  • VM trace debugging - Get opcode-level execution details for high-frequency trading, real-time gaming, instant payments, and latency-sensitive applications

Response Body

Response

Code Examples