Flow logo

Flow Mainnet

RPC Endpoints

Chain ID: FLOW · FLOW

Other Flow networks:Testnet
How to add Flow to MetaMask or other wallets

Flow Mainnet uses FLOW as its native currency. Chain ID: 15 (FLOW). Below is a public RPC endpoint you can use to connect wallets, dApps, and developer tools to Flow Mainnet.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://rest-mainnet.onflow.org
FLOWFLOWExplorer

Connect to Flow Mainnet with ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider("https://rest-mainnet.onflow.org");

const network = await provider.getNetwork();
console.log(network.chainId); // 15n

Flow Mainnet — common questions

What is the RPC URL for Flow Mainnet?
The public RPC URL for Flow Mainnet is https://rest-mainnet.onflow.org.
What is the Chain ID for Flow Mainnet?
The Chain ID for Flow Mainnet is 15 (FLOW in hexadecimal).
What is the native currency of Flow Mainnet?
The native currency of Flow Mainnet is FLOW.
How do I add Flow Mainnet to MetaMask?
Use the "Add to Wallet" button on this page to add Flow Mainnet to MetaMask automatically, or follow our step-by-step guide for Flow.