For the complete documentation index, see llms.txt. This page is also available as Markdown.

FEVM API

JSON-RPC API reference for the Filecoin EVM (FEVM). Explore method list, request examples, and how to connect to GetBlock's Filecoin RPC endpoints

The Filecoin EVM (FEVM) is an EVM-compatible runtime on Filecoin. It exposes the standard Ethereum JSON-RPC method set through the eth_ namespace, so Solidity contracts and Ethereum tooling — Hardhat, Foundry, ethers.js, viem, and web3.py — work on Filecoin. The FEVM chain ID is 314 (Calibration testnet is 314159), and the native token is FIL (base unit attoFIL).

Addresses in the FEVM layer use the standard 0x form. A Filecoin f4 address and its 0x form map to the same account, so contracts and accounts are reachable from both the native and FEVM surfaces.

Base URL

https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

Send a POST request with a JSON-RPC 2.0 body. Replace <ACCESS-TOKEN> with the access token from the GetBlock dashboard.

Account & State

Method
Description

eth_getBalance

eth_getBalance

eth_getTransactionCount

eth_getTransactionCount

eth_getCode

eth_getCode

eth_getStorageAt

eth_getStorageAt

Execution

Method
Description

eth_call

eth_call

eth_estimateGas

eth_estimateGas

Gas & Fees

Method
Description

eth_gasPrice

eth_gasPrice

eth_maxPriorityFeePerGas

eth_maxPriorityFeePerGas

eth_feeHistory

eth_feeHistory

Blocks

Method
Description

eth_blockNumber

eth_blockNumber

eth_getBlockByNumber

eth_getBlockByNumber

eth_getBlockByHash

eth_getBlockByHash

eth_getBlockTransactionCountByNumber

eth_getBlockTransactionCountByNumber

eth_getBlockTransactionCountByHash

eth_getBlockTransactionCountByHash

eth_getBlockReceipts

eth_getBlockReceipts

Transactions

Method
Description

eth_getTransactionByHash

eth_getTransactionByHash

eth_getTransactionReceipt

eth_getTransactionReceipt

eth_getTransactionByBlockNumberAndIndex

eth_getTransactionByBlockNumberAndIndex

eth_getTransactionByBlockHashAndIndex

eth_getTransactionByBlockHashAndIndex

eth_sendRawTransaction

eth_sendRawTransaction

Logs

Method
Description

eth_getLogs

eth_getLogs

Node & Network

Method
Description

eth_chainId

eth_chainId

net_version

net_version

web3_clientVersion

web3_clientVersion

eth_syncing

eth_syncing

Debug

Method
Description

debug_traceTransaction

debug_traceTransaction

debug_traceBlockByNumber

debug_traceBlockByNumber

debug_traceBlockByHash

debug_traceBlockByHash

Support

See Also

Last updated

Was this helpful?