Hedera Mainnet
RPC EndpointsChain ID: 0x127 · HBAR
Other Hedera networks:Testnet
Hedera Mainnet uses HBAR as its native currency. Chain ID: 295 (0x127). Below is a public RPC endpoint you can use to connect wallets, dApps, and developer tools to Hedera Mainnet.
Connect to Hedera Mainnet with ethers.js
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider("https://mainnet.hashio.io/api");
const network = await provider.getNetwork();
console.log(network.chainId); // 295nHedera Mainnet — common questions
What is the RPC URL for Hedera Mainnet?
The public RPC URL for Hedera Mainnet is https://mainnet.hashio.io/api.
What is the Chain ID for Hedera Mainnet?
The Chain ID for Hedera Mainnet is 295 (0x127 in hexadecimal).
What is the native currency of Hedera Mainnet?
The native currency of Hedera Mainnet is HBAR.
How do I add Hedera Mainnet to MetaMask?
Use the "Add to Wallet" button on this page to add Hedera Mainnet to MetaMask automatically, or follow our step-by-step guide for Hedera.