MegaETH logo

MegaETH Testnet

RPC Endpoints

Chain ID: 6342 · ETH

How to add MegaETH to MetaMask or other wallets

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.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://megaeth-testnet.drpc.org
6342ETHExplorer
Checking
https://megaeth-carrot.gateway.tatum.io
6342ETHExplorer

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); // 25410n

MegaETH 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.