Fantom logo

Fantom Mainnet

RPC Endpoints

Chain ID: 0xfa · FTM

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

Fantom Mainnet uses FTM as its native currency. Chain ID: 250 (0xfa). Below are 5 public RPC endpoints you can use to connect wallets, dApps, and developer tools to Fantom Mainnet.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://fantom.drpc.org
0xfaFTMExplorer
Checking
https://rpc.ftm.tools
0xfaFTMExplorer
Checking
https://fantom.api.onfinality.io/public
0xfaFTMExplorer
Checking
https://rpc.fantom.network
0xfaFTMExplorer
Checking
https://fantom-mainnet.gateway.tatum.io
0xfaFTMExplorer

Connect to Fantom Mainnet with ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider("https://fantom.drpc.org");

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

Fantom Mainnet — common questions

What is the RPC URL for Fantom Mainnet?
There are 5 public RPC endpoints for Fantom Mainnet, including https://fantom.drpc.org. See the full list in the table above.
What is the Chain ID for Fantom Mainnet?
The Chain ID for Fantom Mainnet is 250 (0xfa in hexadecimal).
What is the native currency of Fantom Mainnet?
The native currency of Fantom Mainnet is FTM.
How do I add Fantom Mainnet to MetaMask?
Use the "Add to Wallet" button on this page to add Fantom Mainnet to MetaMask automatically, or follow our step-by-step guide for Fantom.