Filecoin logo

Filecoin Mainnet

RPC Endpoints

Chain ID: 0x13a · tFIL

Other Filecoin networks:Calibration Testnet
How to add Filecoin to MetaMask or other wallets

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.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://filecoin.drpc.org/
0x13atFILExplorer
Checking
https://api.node.glif.io/rpc/v1
0x13atFILExplorer

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

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