Filecoin (FVM) API Methods
Supported Networks
- Filecoin Mainnet (
FVM) - Filecoin Testnet (
FVMT)
Supported Interfaces:
- JSON-RPC/HTTP
- JSON-RPC/WEBSOCEKT
Native Filecoin JSON-RPC
General & Auth
Filecoin.VersionFilecoin.Web3ClientVersionFilecoin.AuthVerify
Chain & Tipsets
Filecoin.ChainHeadFilecoin.ChainGetTipSetFilecoin.ChainGetTipSetByHeightFilecoin.ChainGetTipSetAfterHeightFilecoin.ChainGetBlockFilecoin.ChainGetBlockMessagesFilecoin.ChainGetMessagesInTipsetFilecoin.ChainGetParentMessagesFilecoin.ChainGetParentReceiptsFilecoin.ChainGetPathFilecoin.ChainGetGenesisFilecoin.ChainGetMessageFilecoin.ChainGetNodeFilecoin.ChainTipSetWeightFilecoin.ChainHasObjFilecoin.ChainReadObjFilecoin.ChainStatObjFilecoin.ChainBlockstoreInfoChainExport(export snapshot)Filecoin.ChainNotify(subscribe to head changes)Filecoin.ChainGetEvents
State (Actors, Network, Randomness, Deals)
Filecoin.StateNetworkNameFilecoin.StateNetworkVersionFilecoin.StateReadStateFilecoin.StateCallFilecoin.StateComputeFilecoin.StateComputeDataCIDFilecoin.StateChangedActorsFilecoin.StateActorCodeCIDsFilecoin.StateActorManifestCIDFilecoin.StateAccountKeyFilecoin.StateLookupIDFilecoin.StateLookupRobustAddressFilecoin.StateGetActorFilecoin.StateGetNetworkParamsFilecoin.StateGetBeaconEntryFilecoin.StateGetRandomnessFromBeaconFilecoin.StateGetRandomnessFromTicketsFilecoin.StateGetRandomnessDigestFromBeaconFilecoin.StateGetRandomnessDigestFromTicketsFilecoin.StateListActorsFilecoin.StateListMessagesFilecoin.StateListMinersFilecoin.StateCirculatingSupplyFilecoin.StateVMCirculatingSupplyInternalFilecoin.StateReplayFilecoin.StateSearchMsgFilecoin.StateWaitMsg
Market & Deals
Filecoin.StateMarketBalanceFilecoin.StateMarketParticipantsFilecoin.StateMarketDealsFilecoin.StateMarketStorageDealFilecoin.StateDealProviderCollateralBounds
Verified Registry
Filecoin.StateVerifiedClientStatusFilecoin.StateVerifierStatusFilecoin.StateVerifiedRegistryRootKey
Datacap / Allocations & Claims
Filecoin.StateGetAllAllocationFilecoin.StateGetAllClaimsFilecoin.StateGetAllocationFilecoin.StateGetAllocationForPendingDealFilecoin.StateGetAllocationsFilecoin.StateGetClaimFilecoin.StateGetClaims
Miner & Sectors
Filecoin.MinerGetBaseInfoFilecoin.StateMinerInfoFilecoin.StateMinerPowerFilecoin.StateMinerSectorsFilecoin.StateMinerActiveSectorsFilecoin.StateMinerSectorCountFilecoin.StateMinerSectorAllocatedFilecoin.StateMinerAllocatedFilecoin.StateMinerDeadlinesFilecoin.StateMinerPartitionsFilecoin.StateMinerFaultsFilecoin.StateMinerRecoveriesFilecoin.StateMinerProvingDeadlineFilecoin.StateMinerPledgeCollateralFilecoin.StateMinerPledgeForSectorFilecoin.StateMinerPreCommitDepositForPowerFilecoin.StateSectorGetInfoFilecoin.StateSectorExpirationFilecoin.StateSectorPartitionFilecoin.StatePreCommitInfo
Mempool (Message Pool)
Filecoin.MpoolPendingFilecoin.MpoolGetNonceFilecoin.MpoolGetConfigFilecoin.MpoolSelectFilecoin.MpoolCheckMessagesFilecoin.MpoolCheckPendingMessagesFilecoin.MpoolCheckReplaceMessagesFilecoin.MpoolBatchPushFilecoin.MpoolBatchPushUntrusted
Multisig
Filecoin.MsigGetAvailableBalanceFilecoin.MsigGetPendingFilecoin.MsigGetVestedFilecoin.MsigGetVestingSchedule
Wallet
Filecoin.WalletBalanceFilecoin.WalletValidateAddressFilecoin.WalletVerify
Gas (Filecoin)
Filecoin.GasEstimateMessageGasFilecoin.GasEstimateFeeCapFilecoin.GasEstimateGasLimitFilecoin.GasEstimateGasPremium
Events
Filecoin.GetActorEventsRaw
Networking (compat)
Filecoin.NetListeningFilecoin.NetVersion
Filecoin ↔ Ethereum Address Helpers
Filecoin.EthAddressToFilecoinAddressFilecoin.FilecoinAddressToEthAddress
Ethereum-Compatibility (Filecoin-prefixed)
Chain & Node
Filecoin.EthChainIdFilecoin.EthProtocolVersionFilecoin.EthSyncing
Blocks
Filecoin.EthBlockNumberFilecoin.EthGetBlockByNumberFilecoin.EthGetBlockByHashFilecoin.EthGetBlockReceiptsFilecoin.EthGetBlockTransactionCountByNumberFilecoin.EthGetBlockTransactionCountByHash
Transactions - Read
Filecoin.EthGetTransactionByHashFilecoin.EthGetTransactionByHashLimitedFilecoin.EthGetTransactionByBlockNumberAndIndexFilecoin.EthGetTransactionByBlockHashAndIndexFilecoin.EthGetTransactionReceiptFilecoin.EthGetTransactionHashByCidFilecoin.EthGetMessageCidByTransactionHash
Transactions - Write
Filecoin.EthSendRawTransaction
Accounts & State
Filecoin.EthAccountsFilecoin.EthGetBalanceFilecoin.EthGetTransactionCountFilecoin.EthGetStorageAtFilecoin.EthGetCodeFilecoin.EthGetLogsFilecoin.EthGetFilterLogsFilecoin.EthGetFilterChangesFilecoin.EthCallFilecoin.EthEstimateGas
Filters & Subscriptions
Filecoin.EthNewFilterFilecoin.EthNewBlockFilterFilecoin.EthNewPendingTransactionFilterFilecoin.EthUninstallFilterFilecoin.EthSubscribeFilecoin.EthUnsubscribe
Gas & Fees
Filecoin.EthGasPriceFilecoin.EthFeeHistoryFilecoin.EthMaxPriorityFeePerGas
Tracing (ETH-style on Filecoin)
Filecoin.EthTraceBlockFilecoin.EthTraceFilterFilecoin.EthTraceTransactionFilecoin.EthTraceReplayBlockTransactions
Standard Ethereum JSON-RPC (also supported on FVM)
Chain & Node
eth_chainIdeth_protocolVersioneth_syncingnet_versionnet_listeningnet_peerCountrpc_modulesweb3_clientVersionweb3_sha3
Blocks
eth_blockNumbereth_getBlockByNumbereth_getBlockByHasheth_getBlockReceiptseth_getBlockTransactionCountByNumbereth_getBlockTransactionCountByHasheth_getUncleCountByBlockNumbereth_getUncleCountByBlockHasheth_getUncleByBlockNumberAndIndexeth_getUncleByBlockHashAndIndex
Transactions — Read
eth_getTransactionByHasheth_getTransactionByBlockNumberAndIndexeth_getTransactionByBlockHashAndIndexeth_getTransactionReceipt
Transactions — Write
eth_sendRawTransactioneth_sendTransactioneth_signTransactioneth_sign
Accounts & State
eth_accountseth_getBalanceeth_getTransactionCounteth_getStorageAteth_getCodeeth_getProof
Execution (EVM)
eth_calleth_estimateGaseth_createAccessList
Filters, Logs & Subscriptions
eth_newFiltereth_newBlockFiltereth_newPendingTransactionFiltereth_getFilterChangeseth_getFilterLogseth_uninstallFiltereth_getLogseth_subscribeeth_unsubscribe
Gas & Fees
eth_gasPriceeth_feeHistoryeth_maxPriorityFeePerGas
Mining / Work & Hashrate (legacy compatibility)
eth_coinbaseeth_miningeth_hashrateeth_getWork
Compilers (legacy compatibility)
eth_getCompilerseth_compileLLL
Add-Ons
bundler
eth_sendUserOperationeth_estimateUserOperationGaseth_getUserOperationByHasheth_getUserOperationReceipteth_supportedEntryPoints
debug
debug_getBadBlocksdebug_getRawBlockdebug_getRawHeaderdebug_getRawReceiptsdebug_getRawTransactiondebug_storageRangeAtdebug_traceBlockdebug_traceBlockByHashdebug_traceBlockByNumberdebug_traceCalldebug_traceTransaction
trace
trace_calltrace_blocktrace_gettrace_filtertrace_transactiontrace_rawTransactiontrace_replayBlockTransactionstrace_replayTransaction