Lens Network Mainnet
RPC EndpointsChain ID: 232 · GHO
Other Lens Network networks:Testnet
Lens Network Mainnet uses GHO as its native currency. Chain ID: 562 (232). Below are 2 public RPC endpoints you can use to connect wallets, dApps, and developer tools to Lens Network Mainnet.
Connect to Lens Network Mainnet with ethers.js
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider("https://rpc.lens.xyz");
const network = await provider.getNetwork();
console.log(network.chainId); // 562nLens Network Mainnet — common questions
What is the RPC URL for Lens Network Mainnet?
There are 2 public RPC endpoints for Lens Network Mainnet, including https://rpc.lens.xyz. See the full list in the table above.
What is the Chain ID for Lens Network Mainnet?
The Chain ID for Lens Network Mainnet is 562 (232 in hexadecimal).
What is the native currency of Lens Network Mainnet?
The native currency of Lens Network Mainnet is GHO.
How do I add Lens Network Mainnet to MetaMask?
Use the "Add to Wallet" button on this page to add Lens Network Mainnet to MetaMask automatically, or follow our step-by-step guide for Lens Network.