Lens Network logo

Lens Network Mainnet

RPC Endpoints

Chain ID: 232 · GHO

Other Lens Network networks:Testnet
How to add Lens Network to MetaMask or other wallets

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.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://rpc.lens.xyz
232GHOExplorer
Checking
https://lens.drpc.org
232GHOExplorer

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); // 562n

Lens 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.