MegaETH RPC Endpoint

Flat-rate MegaETH RPC provider and MegaETH RPC node access: free tier, no KYC, HTTP & WebSocket. MegaETH mainnet chain ID 4326.

MegaETH mainnet RPC URL: https://rpc.swiftnodes.io/rpc/megaeth?key=YOUR_API_KEY
WebSocket: wss://rpc.swiftnodes.io/ws/megaeth?key=YOUR_API_KEY

MegaETH is an Ethereum layer 2 designed for real-time performance, with millisecond block times. Access MegaETH RPC endpoints with SwiftNodes.

Network: MegaETH
Type: EVM
Chain ID: 4326
Slug: megaeth
Native token: ETH (Ether)
Category: Layer 2

MegaETH on the SwiftNodes fleet, right now

Status: online
Latency: 178 ms
Latest block: 28,389,351
WebSocket: available

10 of 12 probed RPC methods supported (archive, batch, debug_traceCall, trace_transaction). The gaps are listed per chain in the method support matrix.

Status and latency from our health checks, refreshed about every 5 minutes. Uptime history. Method support probed automatically on 2026-10-04. Network status

MegaETH developer facts, measured

Block time:
~1 s (average of the last 1,000 blocks)
Finality:
the finalized tag trails the head by ~1,892 blocks (~32 min)
eth_getLogs range:
50,000-block ranges accepted (the largest we test)
Historical state:
readable at least 1,000,000 blocks back

Measured 2026-10-04 through this page's endpoint, re-measured weekly. Limits can differ between the upstream nodes behind it. All chains: measured chain facts.

MegaETH Mainnet RPC URL (HTTP)

https://rpc.swiftnodes.io/rpc/megaeth?key=YOUR_API_KEY

MegaETH WebSocket RPC URL

wss://rpc.swiftnodes.io/ws/megaeth?key=YOUR_API_KEY

Quick Start: Connect to MegaETH

cURL

curl -X POST https://rpc.swiftnodes.io/rpc/megaeth?key=YOUR_API_KEY \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

ethers.js

import { JsonRpcProvider } from "ethers";

const provider = new JsonRpcProvider(
  "https://rpc.swiftnodes.io/rpc/megaeth?key=YOUR_API_KEY"
);

const blockNumber = await provider.getBlockNumber();
console.log("MegaETH block:", blockNumber);

viem

import { createPublicClient, http } from "viem";

const client = createPublicClient({
  transport: http("https://rpc.swiftnodes.io/rpc/megaeth?key=YOUR_API_KEY"),
});

const blockNumber = await client.getBlockNumber();

web3.py

from web3 import Web3

w3 = Web3(Web3.HTTPProvider("https://rpc.swiftnodes.io/rpc/megaeth?key=YOUR_API_KEY"))
print("MegaETH block:", w3.eth.block_number)

Add MegaETH to MetaMask

Network Name: MegaETH (SwiftNodes)
RPC URL: https://rpc.swiftnodes.io/rpc/megaeth?key=YOUR_API_KEY
Chain ID: 4326
Currency Symbol: ETH
WebSocket: wss://rpc.swiftnodes.io/ws/megaeth?key=YOUR_API_KEY

Features of SwiftNodes for MegaETH

  • Load-balanced across multiple upstream nodes wherever a chain has more than one, with automatic failover
  • Health-checked every 2 minutes with automatic failover
  • Free tier available — no credit card or KYC required
  • Flat-rate monthly pricing with no per-request fees
  • HTTP and WebSocket support
  • One API key works across all 75+ supported chains, including MegaETH

Rate Limits

PlanPriceHTTP req/sWS msg/s
Free$0/mo21
Starter$49/mo5025
Growth$89/mo15075
Scale$149/mo300150
Pro$249/mo500250

Related L2 & rollup chains

Explore RPC endpoints for other L2 & rollup networks on SwiftNodes:

Ready to start building on MegaETH? Connect your wallet and get a free API key in 30 seconds. No email or KYC required.