MegaETH API

Token balances with prices, transaction history and token approvals for any MegaETH address, indexed from genesis to the latest block, plus JSON-RPC for MegaETH with archive depth. One API key, no nodes to run.

// Token balances on MegaETH: 1 creditconst chain = "megaeth-mainnet";const address = "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045";const url = "https://api.covalenthq.com/v1/" + chain +  "/address/" + address + "/balances_v2/"; const key = process.env.GOLDRUSH_API_KEY;const res = await fetch(url, {  headers: { Authorization: `Bearer ${key}` },});const { data } = await res.json(); for (const token of data.items) {  // balance, quote (USD value), quote_rate …  console.log(token.contract_ticker_symbol, token.pretty_quote);}

Used by EY, Fidelity and Consensys

  • EY
  • Fidelity
  • Consensys
  • Jump
  • Ondo
  • ThorWallet
  • Rainbow
  • Matcha
  • Velora
  • AtomicWallet
  • Atlas Wallet
  • OneKey

Query MegaETH data

REST endpoints that return decoded, priced MegaETH data in one call, billed in credits per request. The same key works on every other chain GoldRush supports.

Every endpoint supported on MegaETH

MegaETH RPC endpoint

Standard eth_*, net_* and web3_* methods plus debug_* and trace_*, with archive depth, drop-in for viem, ethers, web3.js and web3.py. GoldRush routes each call to the best of several upstream providers, from regional edge locations, with a 99.9% production SLA. It uses the same API key and credits as the rest of GoldRush.

  • Standard: eth_*, net_* and web3_* methods0.01 credits per call
  • Trace: debug_* and trace_* methods0.015 credits per call
// ethers v6, pointed at the GoldRush endpointimport { ethers } from "ethers"; const url = "https://rpc.goldrushdata.com/v1/megaeth-mainnet";const req = new ethers.FetchRequest(url);const key = process.env.GOLDRUSH_API_KEY;req.setHeader("Authorization", `Bearer ${key}`);const provider = new ethers.JsonRpcProvider(req); console.log(await provider.getBlockNumber());

MegaETH on GoldRush

GoldRush serves decoded MegaETH data through one REST API. Network covered: megaeth-mainnet (chain ID 4326, 1-second blocks), with block explorer data from megaeth.blockscout.com. The Foundational API returns token balances, historical transactions and wallet activity, and token approvals data.

megaeth-mainnetFrontier chain
Chain name
megaeth-mainnet
Chain ID
4326
Block time
1 s
Gas token
ETH
Last synced block
Loading...
JSON-RPC endpoint
https://rpc.goldrushdata.com/v1/megaeth-mainnet
Data last updated . The last synced block refreshes every 5 seconds.

Chain details from the MegaETH chain reference.

What teams build on MegaETH

  • Wallets and portfolio trackers

    Show what any MegaETH address holds, priced in USD, next to its full transaction history.

    Crypto wallet API
  • Crypto tax and accounting

    Pull every MegaETH transaction for a client's addresses and reconcile it into reports.

    Tax and accounting data
  • DeFi dashboards

    Track MegaETH positions, tokens and protocol activity without running an indexer.

    DeFi data
  • Risk and compliance

    Review MegaETH counterparties and their activity before you onboard or pay them.

    Risk and compliance data
  • Analytics and research

    Answer questions about MegaETH wallets and tokens from indexed history instead of raw RPC.

    Analytics data
  • AI agents

    Give Claude, Cursor and other agents MegaETH data through the hosted GoldRush MCP server.

    GoldRush MCP server

Start building on MegaETH

Every account starts with a 14-day free trial: 25,000 credits at 4 requests per second, no credit card. After that, Vibe Coding is $10 a month for prototypes and side projects, and Professional is $250 a month with 50 requests per second for production.

MegaETH FAQ

Yes. https://rpc.goldrushdata.com/v1/megaeth-mainnet serves MegaETH JSON-RPC on your GoldRush API key, sent as an Authorization: Bearer header. Standard methods cost 0.01 credits per call and debug and trace methods 0.015. See the JSON-RPC quickstart.

MegaETH API docs

Start here

Reference

More