Hedera logo

Hedera Mainnet

RPC Endpoints

Chain ID: 0x127 · HBAR

Other Hedera networks:Testnet
How to add Hedera to MetaMask or other wallets

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.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://mainnet.hashio.io/api
0x127HBARExplorer

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

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