The JSON-RPC Relay is the open-source service that bridges EVM-style JSON-RPC clients (MetaMask, ethers.js, web3.js, Hardhat, Foundry, viem, etc.) to the Hedera network. You have three ways to access it: use the free public instance (Hashio), use a managed third-party provider, or run your own instance.Documentation Index
Fetch the complete documentation index at: https://hedera-0c6e0218-mintlify-12ced39d.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Choose a connection option
Hashio
Free public Hiero JSON-RPC Relay instance hosted by Hashgraph. No sign-up required. Best for prototyping and tutorials. Rate-limited.
Validation Cloud
Freemium managed JSON-RPC and Mirror Node service. Requires an account but no credit card. Scales for production workloads.
QuickNode
Commercial JSON-RPC provider with global edge infrastructure and SLAs. Best for high-throughput production apps.
Self-host the Relay
Run your own instance of the open-source Hiero JSON-RPC Relay for full control over rate limits, caching, and infrastructure.
Network support
| Option | Mainnet | Testnet | Previewnet | Sign-up |
|---|---|---|---|---|
| Hashio (public Hiero Relay) | ✅ | ✅ | ✅ | ❌ |
| Validation Cloud | ✅ | ✅ | ❌ | ✅ |
| QuickNode | ✅ | ✅ | ❌ | ✅ |
| Self-hosted Relay | ✅ | ✅ | ✅ | — |
Network reference
| Network | Chain ID (decimal) | Chain ID (hex) | Hashio endpoint |
|---|---|---|---|
| Mainnet | 295 | 0x127 | https://mainnet.hashio.io/api |
| Testnet | 296 | 0x128 | https://testnet.hashio.io/api |
| Previewnet | 297 | 0x129 | https://previewnet.hashio.io/api |
Additional resources
- JSON-RPC Relay overview
- Community-hosted JSON-RPC relays
- Add Hedera to MetaMask
- How to connect MetaMask to Hedera
- Hiero JSON-RPC Relay on GitHub