Skip to content
New guideAgent Cookbook 12 copy-ready prompts for AI coding agents.See recipes

MegaETH RPC Endpoints

Mainnet
Chain ID
Family
EVM
Native token
ETH
Block time
10 ms
HTTPS
https://api-megaeth-mainnet.n.dwellir.com/<your-api-key>
WSS
wss://api-megaeth-mainnet.n.dwellir.com/<your-api-key>

MegaETH is a groundbreaking Ethereum Layer-2 blockchain backed by Ethereum co-founder Vitalik Buterin. Designed as the world's first real-time blockchain, MegaETH streams transactions at lightning speed with sub-millisecond latency and delivers over 100,000 transactions per second. The network maintains full EVM compatibility while providing unprecedented performance for DeFi applications, high-frequency trading, gaming, and Web3 applications that require instant finality. MegaETH combines cutting-edge technology with Ethereum's security to enable a new generation of decentralized applications.

MegaETH RPC docs: methods and examples

Give it a try

Run a call against MegaETH Mainnet, then copy it as code.

ReadyMainnet · api-megaeth-mainnet.n.dwellir.comShared demo key
POST https://api-megaeth-mainnet.n.dwellir.com/<key>
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_blockNumber",
  "params": []
}
BASH
curl -sS -X POST https://api-megaeth-mainnet.n.dwellir.com/<your-api-key> \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'

Pricing

Every response costs one API credit on the shared plans, with no compute units. For a fixed monthly price, move to an Unlimited Node or a dedicated cluster.

Shared Node Pricing

How many calls do you make per month?

150,000,000/ month

Growth

$299/month

  • 500 Responses /sec
  • Pay in Crypto
  • Dedicated Account Manager

150,000,000 responses ≈ 150.0M • Base $299 + Overages $0

Choose Growth

MegaETH Unlimited Node

  • Unmetered requests within your tier
  • Five tiers from 25 to 1,000 RPS
  • No API credits, no overages
  • Pay in Crypto
  • HTTP & Websocket APIs
  • Trace APIs
  • Debug APIs
  • Same endpoint URL and API key
  • Self-serve in the dashboard
  • Fixed monthly invoice

MegaETH Dedicated Node Cluster

  • Unlimited RPS & Responses
  • HTTP & Websocket APIs
  • Trace APIs
  • Debug APIs
  • Pay in Crypto
  • Dedicated Account Manager
  • Tailored load balancing
  • Access to Engineering teams
  • Global data centers

FAQs

Dwellir provides MegaETH RPC endpoints at https://api-megaeth-mainnet.n.dwellir.com/<your-api-key> for mainnet (Chain ID 4326). Replace <your-api-key> with the key from your Dwellir dashboard.

Yes. WebSocket endpoints are available at wss://api-megaeth-mainnet.n.dwellir.com/<your-api-key> for mainnet. WebSockets are ideal for real-time subscriptions and monitoring on MegaETH's ultra-fast network.

Yes. Dwellir's MegaETH endpoints provide archive node access for full historical state queries. You can query past balances, execute historical contract calls, and trace transactions at any block height using standard Ethereum JSON-RPC methods.

  1. Sign up at dwellir.com and get your API key. 2. Update your RPC URL to https://api-megaeth-mainnet.n.dwellir.com/<your-api-key>. 3. For WebSockets use wss://api-megaeth-mainnet.n.dwellir.com/<your-api-key>. MegaETH is fully EVM-compatible and works seamlessly with Web3.js, ethers.js, viem, and all standard Ethereum tooling.

MegaETH Mainnet uses Chain ID 4326 with ETH as the native token, delivering sub-millisecond latency and 100,000+ transactions per second. The network launched on February 9, 2026. Block explorer: megaeth.blockscout.com.

MegaETH is fully EVM-compatible, so you can use all standard Ethereum development tools including Web3.js, ethers.js, viem, Web3.py, Hardhat, Foundry, and Truffle. Simply configure your provider with the Dwellir RPC URL and your API key. See MegaETH documentation for more details.

MegaETH is the first real-time blockchain with sub-millisecond transaction latency and sustained throughput exceeding 100,000 transactions per second. Unlike traditional Layer-2 solutions, MegaETH streams transactions in real-time, making it ideal for high-frequency DeFi, gaming, and applications requiring instant finality. The network is backed by Ethereum co-founder Vitalik Buterin and maintains full EVM compatibility.

What our customers say

  • “DIA leverages Dwellir’s robust infrastructure as a primary and/or backup RPC provider to power oracle services across a wide range of blockchain networks. Their reliability and forward-thinking approach to supporting new and emerging ecosystems align closely with DIA’s mission to provide resilient, scalable data infrastructure for Web3. This collaboration enhances DIA’s redundancy model and strengthens DIA’s ability to serve as a foundational layer for decentralized applications across the multi-chain landscape.”
    Dillon HansonHead of Business Development, DIA
  • “Dwellir is more than just a service provider for Paribu Custody; they are a strategic partner. They consistently deliver tailored solutions, always standing by our side. Their reliability, speed, and proactive approach ensure seamless operations. Working with them truly makes a difference.”
    Anıl KüçükrecepSenior Engineering Manager, Paribu
  • “We are very impressed! You are fast at deploying new nodes and we haven’t experienced any downtime yet with Dwellir.”
    Jarmo IsotaloCTO, Token Terminal
  • “We’ve been very happy so far with the services, currently using Dwellir mainly for our Polkadot ecosystem chains where we’re very happy with the uptime, low latencies and the fast customer support.”
    Norbert VeelenturfProduct Manager, Bitvavo

Start free on MegaETH.1 response = 1 credit.

100,000 responses a day at 20 per second. The same plan covers 150+ networks.