Flare logo

Flare Mainnet

RPC Endpoints

Chain ID: 14 · FLR

Other Flare networks:Coston TestnetCoston2 TestnetSongbird Mainnet
How to add Flare to MetaMask or other wallets

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.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://flare-api.flare.network/ext/C/rpc
14FLRExplorer
Checking
https://rpc.swiftnodes.io/rpc/flare?key=demo
14FLRExplorer
Checking
https://flare-mainnet.gateway.tatum.io
14FLRExplorer

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

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