Docs

trace_block - MegaETH RPC Method

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

Returns traces for all transactions in a block on MegaETH.

Archive Node Required

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

Use Cases

  • Block analysis - Inspect all internal transactions in a block
  • MEV research - Analyze transaction ordering and internal calls
  • Indexing - Build comprehensive transaction indexes for high-frequency trading, real-time gaming, instant payments, and latency-sensitive applications

Response Body

Response

Code Examples