Networks

Add XGR network in MetaMask (Mobile)

Install MetaMask first: metamask.io (official download).

On iPhone/Android, MetaMask does not inject a wallet provider into Safari/Chrome. Adding a network only works inside the MetaMask in-app browser.

  1. Recommended: Open the MetaMask app first and unlock it (log in).
  2. Return to this page and tap “Add to MetaMask”.
  3. Wait a few seconds until MetaMask asks to open this site in its in-app browser. Confirm.
  4. When the XGR network add dialog appears, verify the network name/RPC and confirm.

If you prefer not to unlock first: tap “Add to MetaMask” once, unlock MetaMask when it opens, then return here and tap “Add to MetaMask” again.

Mainnet

Connection details

RPC URL
https://rpc.xgr.network
Chain ID
0x66b
Currency
XGR
Explorer
explorer.xgr.network
Gas price
1000 Gwei(constant)

cURL example

curl https://rpc.xgr.network \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'

ethers.js

import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider("https://rpc.xgr.network");
const block = await provider.getBlockNumber();