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