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