Skip to main content

MegaETH API Overview

Updated on
Jun 10, 2026

Quicknode supports the following MegaETH APIs on all endpoints. Using your MegaETH endpoint, you can call any of the methods available in these APIs. For a complete list of supported RPC methods, refer to the documentation for each API.

Supported APIs

Supported Networks

Quicknode provides access to the following MegaETH networks:

Mainnet
Type:Production
Chain ID:
4326
HTTP:
WSS:
Archive:No
Pruning:Block and transaction data retained indefinitely; historical state data pruned with ~15-day retention window

Data Availability & Pruning Policy

Quicknode's MegaETH nodes run with --prune.policy=full, which applies a ~15-day (1,296,064-block) retention window for certain data categories. Here's what this means for data availability:

Available indefinitely:

  • Block data — Block headers and bodies are never pruned. Methods like eth_getBlockByNumber and eth_getBlockByHash work for all historical blocks.
  • Transaction data — Transaction records and hash-to-block lookups are retained indefinitely. Methods like eth_getTransactionByHash work for all historical transactions.

Subject to ~15-day retention window:

  • Receipt data — Transaction receipts (eth_getTransactionReceipt, eth_getBlockReceipts) are pruned from the database after ~15 days but are also persisted in static files.
  • Historical state queries — Methods that require account or storage history at a past block (e.g., eth_call, eth_getBalance, eth_getStorageAt, eth_getCode, eth_getTransactionCount with a historical block number) are limited to the ~15-day pruning window. Queries for state older than ~15 days may return errors or incomplete data.
Pruning Details

The following data categories are pruned under the full policy:

  • account_history — account state change sets (~15-day window)
  • storage_history — storage state change sets (~15-day window)
  • receipts — transaction receipts (~15-day window)
  • salt_history — salt change sets (~15-day window)
  • withdrawal_history — (~90-day window)
  • sender_recovery — fully pruned

The following are never pruned: headers, transactions, transaction_lookup, bodies_history.

Supported Products

API Specifications (OpenRPC, OpenAPI)

Download the machine-readable API specifications for use with compatible tooling (e.g. OpenRPC Playground).


Share this doc