FEVM API

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

bashhttps://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

MethodDescription
eth_getBalanceeth_getBalance
eth_getTransactionCounteth_getTransactionCount
eth_getCodeeth_getCode
eth_getStorageAteth_getStorageAt

Execution

MethodDescription
eth_calleth_call
eth_estimateGaseth_estimateGas

Gas & Fees

MethodDescription
eth_gasPriceeth_gasPrice
eth_maxPriorityFeePerGaseth_maxPriorityFeePerGas
eth_feeHistoryeth_feeHistory

Blocks

MethodDescription
eth_blockNumbereth_blockNumber
eth_getBlockByNumbereth_getBlockByNumber
eth_getBlockByHasheth_getBlockByHash
eth_getBlockTransactionCountByNumbereth_getBlockTransactionCountByNumber
eth_getBlockTransactionCountByHasheth_getBlockTransactionCountByHash
eth_getBlockReceiptseth_getBlockReceipts

Transactions

MethodDescription
eth_getTransactionByHasheth_getTransactionByHash
eth_getTransactionReceipteth_getTransactionReceipt
eth_getTransactionByBlockNumberAndIndexeth_getTransactionByBlockNumberAndIndex
eth_getTransactionByBlockHashAndIndexeth_getTransactionByBlockHashAndIndex
eth_sendRawTransactioneth_sendRawTransaction

Logs

MethodDescription
eth_getLogseth_getLogs

Node & Network

MethodDescription
eth_chainIdeth_chainId
net_versionnet_version
web3_clientVersionweb3_clientVersion
eth_syncingeth_syncing

Debug

MethodDescription
debug_traceTransactiondebug_traceTransaction
debug_traceBlockByNumberdebug_traceBlockByNumber
debug_traceBlockByHashdebug_traceBlockByHash

Support

See Also