Skip to main content

EVM Chains

Beyond the Hedera relay, Hgraph serves standard Ethereum JSON-RPC across a growing set of EVM mainnets and testnets. Every chain follows the JSON-RPC 2.0 Specification and implements the Ethereum JSON-RPC APIs.

API Endpoints

All endpoints are served at https://<chain>.hgraph.com/rpc.

NetworkMainnetTestnet
Ethereumhttps://ethereum.hgraph.com/rpchttps://ethereum-sepolia.hgraph.com/rpc, https://ethereum-hoodi.hgraph.com/rpc
Optimismhttps://optimism.hgraph.com/rpchttps://optimism-sepolia.hgraph.com/rpc
Basehttps://base.hgraph.com/rpchttps://base-sepolia.hgraph.com/rpc
Arbitrumhttps://arbitrum.hgraph.com/rpchttps://arbitrum-sepolia.hgraph.com/rpc
Avalanchehttps://avalanche.hgraph.com/rpchttps://avalanche-fuji.hgraph.com/rpc
Polygonhttps://polygon.hgraph.com/rpchttps://polygon-amoy.hgraph.com/rpc
Fraxtalhttps://fraxtal.hgraph.com/rpc
Inkhttps://ink.hgraph.com/rpc
Liskhttps://lisk.hgraph.com/rpc
Modehttps://mode.hgraph.com/rpc
Soneiumhttps://soneium.hgraph.com/rpc
Unichainhttps://unichain.hgraph.com/rpc
Worldchainhttps://worldchain.hgraph.com/rpc
Zorahttps://zora.hgraph.com/rpc

Authentication

API requests require an API key. Create an account to obtain one — production keys start with pk_prod_.

Provide the key by any of:

  • Header: X-API-KEY: <YOUR_API_KEY>
  • Bearer: Authorization: Bearer <YOUR_API_KEY>
  • Path: https://<chain>.hgraph.com/v1/<YOUR_API_KEY>/rpc

Example Request

curl -X POST \
-H "Content-Type: application/json" \
-H "X-API-KEY: <YOUR_API_KEY>" \
-d '{"jsonrpc":"2.0","id":"1","method":"eth_chainId","params":[]}' \
https://base.hgraph.com/rpc

Response — the hex result decodes to Base mainnet's chain ID, 8453:

{
"result": "0x2105",
"jsonrpc": "2.0",
"id": "1"
}

Support

For any issues or questions, contact support.