MegaETH Testnet
RPC EndpointsChain ID: 6342 · ETH
MegaETH Testnet uses ETH as its native currency. Chain ID: 25410 (6342). Below are 2 public RPC endpoints you can use to connect wallets, dApps, and developer tools to MegaETH Testnet.
Connect to MegaETH Testnet with ethers.js
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider("https://megaeth-testnet.drpc.org");
const network = await provider.getNetwork();
console.log(network.chainId); // 25410nMegaETH Testnet — common questions
What is the RPC URL for MegaETH Testnet?
There are 2 public RPC endpoints for MegaETH Testnet, including https://megaeth-testnet.drpc.org. See the full list in the table above.
What is the Chain ID for MegaETH Testnet?
The Chain ID for MegaETH Testnet is 25410 (6342 in hexadecimal).
What is the native currency of MegaETH Testnet?
The native currency of MegaETH Testnet is ETH.
How do I add MegaETH Testnet to MetaMask?
Use the "Add to Wallet" button on this page to add MegaETH Testnet to MetaMask automatically, or follow our step-by-step guide for MegaETH.