RPC endpoint
JSON-RPC for 0G. Opening the URL in a browser returns “only POST is supported” because the endpoint accepts POST requests.
0G Mainnet
SelectedChain ID
16661
Currency
0G
RPC URL
https://evmrpc.0g.ai
Docs
curl https://evmrpc.0g.ai \
-H "content-type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'0G Galileo Testnet
Chain ID
16602
Currency
0G
RPC URL
https://evmrpc-testnet.0g.ai
Faucet
curl https://evmrpc-testnet.0g.ai \
-H "content-type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'