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