Filecoin (FIL)
GetBlock provides fast and reliable access to Filecoin nodes via JSON-RPC API. Connect to the Filecoin network without running your own infrastructure.
Filecoin is a decentralized storage network whose blockchain coordinates a market for verifiable data storage, secured by Proof-of-Replication and Proof-of-Spacetime. The native token FIL pays for storage and gas fees; its base unit is the attoFIL (1 FIL = 10^18 attoFIL). Blocks are produced in ~30-second epochs, and the chain state is organized around tipsets and content-addressed CIDs.
GetBlock exposes Filecoin through two JSON-RPC surfaces:
The native Lotus API (
Filecoin.*methods) for chain, state, wallet, message pool, and gas operations.The FEVM API (
eth_*methods) for the Filecoin EVM, an EVM-compatible runtime with chain ID314.
Interfaces
Native (Lotus)
Filecoin.<Method>
Filecoin-native data: tipsets, actors, miners, messages, wallet balances
FEVM (EVM)
eth_*
EVM smart contracts on the Filecoin EVM (Solidity, ethers.js, viem)
Both surfaces are served over JSON-RPC 2.0 at the same endpoint; the method name selects the surface. Native methods use Filecoin address forms (f0/f1/f2/f3/f4) and CIDs; the FEVM layer uses 0x addresses and standard Ethereum types. An f4 address and its 0x form refer to the same account across the two surfaces.
Key Features
Decentralized Storage: A market for verifiable storage secured by Proof-of-Replication and Proof-of-Spacetime
Native Lotus API:
Filecoin.*methods for tipsets, actors, miners, messages, and wallet balancesFEVM (EVM Compatibility): Deploy Solidity contracts on the Filecoin EVM at chain ID 314 with standard
eth_*methodsTipset Chain Structure: Blocks are grouped into tipsets per epoch; state is read against a tipset key
Content Addressing: Chain objects are identified by CIDs, integrating with IPFS content addressing
FIL Native Token: FIL pays for storage and gas; the base unit is attoFIL (1 FIL = 10^18 attoFIL)
Actor Model: Accounts, miners, and system components are actors with code and state
Network Information
Network Name
Filecoin Mainnet
Native Currency
FIL (1 FIL = 10^18 attoFIL)
FEVM Chain ID
314 (0x13a)
Epoch (Block Time)
~30 seconds
Consensus
Expected Consensus (PoRep and PoSt)
Native API
Lotus JSON-RPC (Filecoin.<Method>)
EVM Layer
FEVM (EVM-compatible, eth_*)
Address Formats
Filecoin (f0/f1/f2/f3/f4) and 0x (FEVM)
Block Explorer
Testnet
Calibration (FEVM Chain ID 314159)
Base URL
Both the native and FEVM methods are called by sending a POST request with a JSON-RPC 2.0 body to the endpoint. Replace <ACCESS-TOKEN> with the access token from the GetBlock dashboard.
Supported Networks
Mainnet
✅
✅
✅
✅
Calibration Testnet (FEVM Chain ID 314159) is the test environment for staging before mainnet. Confirm testnet endpoint availability from the GetBlock dashboard.
Quickstart
In this section, you will learn how to make your first call with either:
Axios (JavaScript / Node.js)
Python (Requests library)
Before you begin, you must have already installed npm or yarn on your local machine (for the Axios example) or Python and pip (for the Python example).
APIs
Native API (Lotus) — Filecoin-native
Filecoin.*methodsFEVM API (EVM) — Ethereum-compatible
eth_*methods
Support
For technical support and questions:
Support: support@getblock.io
See Also
Last updated
Was this helpful?