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