Mezo logo

Mezo Testnet

RPC Endpoints

Chain ID: 0x7b7b · BTC

How to add Mezo to MetaMask or other wallets

Mezo Testnet uses BTC as its native currency. Chain ID: 31611 (0x7b7b). Below are 2 public RPC endpoints you can use to connect wallets, dApps, and developer tools to Mezo Testnet.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://mezo-testnet.drpc.org
0x7b7bBTCExplorer
Checking
https://rpc.test.mezo.org
0x7b7bBTCExplorer

Connect to Mezo Testnet with ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider("https://mezo-testnet.drpc.org");

const network = await provider.getNetwork();
console.log(network.chainId); // 31611n

Mezo Testnet — common questions

What is the RPC URL for Mezo Testnet?
There are 2 public RPC endpoints for Mezo Testnet, including https://mezo-testnet.drpc.org. See the full list in the table above.
What is the Chain ID for Mezo Testnet?
The Chain ID for Mezo Testnet is 31611 (0x7b7b in hexadecimal).
What is the native currency of Mezo Testnet?
The native currency of Mezo Testnet is BTC.
How do I add Mezo Testnet to MetaMask?
Use the "Add to Wallet" button on this page to add Mezo Testnet to MetaMask automatically, or follow our step-by-step guide for Mezo.