Hedera logo

Hedera Testnet

RPC Endpoints

Chain ID: 0x128 · HBAR

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

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.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://testnet.hashio.io/api
0x128HBARExplorer

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

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