JSON-RPC Methods Reference
This page provides a comprehensive reference for all RPC methods supported by Forest across multiple API versions. You can search, filter by namespace, switch between API versions, and expand individual methods to see detailed parameter and return type information.
This reference is automatically generated from the OpenRPC specifications in the repository. For the interactive schema explorer, see the Schema Explorer page.
API Versions
Forest supports multiple RPC API versions:
- V0 - Deprecated API
- V1 - Stable API - Recommended for production use
- V2 - Experimental API
Use the version selector to switch between versions and see the methods available in each.
Complete reference for all RPC methods across multiple API versions
Showing 264 methods in V0
eth(39 methods)
eth_accountseth_blockNumbereth_calleth_chainIdeth_estimateGaseth_feeHistoryeth_gasPriceReturns the current gas price in attoFIL
eth_getBalanceReturns the balance of an Ethereum address at the specified block state
eth_getBlockByHasheth_getBlockByNumberRetrieves a block by its number or a special tag.
eth_getBlockReceiptsRetrieves all transaction receipts for a block by its number, hash or a special tag.
eth_getBlockReceiptsLimitedRetrieves all transaction receipts for a block identified by its number, hash or a special tag along with an optional limit on the chain epoch for state resolution.
eth_getBlockTransactionCountByHasheth_getBlockTransactionCountByNumberReturns the number of transactions in a block identified by its block number.
eth_getCodeRetrieves the contract code at a specific address and block state, identified by its number, hash, or a special tag.
eth_getFilterChangesReturns event logs which occurred since the last poll
eth_getFilterLogseth_getLogseth_getMessageCidByTransactionHasheth_getStorageAtRetrieves the storage value at a specific position for a contract at a given block state, identified by its number, hash, or a special tag.
eth_getTransactionByBlockHashAndIndexeth_getTransactionByBlockNumberAndIndexRetrieves a transaction by its block number and index.
eth_getTransactionByHasheth_getTransactionByHashLimitedeth_getTransactionCounteth_getTransactionHashByCideth_getTransactionReceipteth_getTransactionReceiptLimitedeth_maxPriorityFeePerGaseth_newBlockFiltereth_newFiltereth_newPendingTransactionFiltereth_protocolVersioneth_sendRawTransactioneth_sendRawTransactionUntrustedeth_subscribeeth_syncingeth_uninstallFiltereth_unsubscribeF3(11 methods)
F3.ExportLatestSnapshotExports the latest F3 snapshot to the specified path and returns its CID
F3.FinalizeF3.GetHeadF3.GetParentF3.GetParticipatingMinerIDsF3.GetPowerTableF3.GetRawNetworkNameF3.GetTipsetF3.GetTipsetByEpochF3.ProtectPeerF3.SignMessageFilecoin(194 methods)
Filecoin.AuthNewFilecoin.AuthVerifyFilecoin.BeaconGetEntryFilecoin.ChainExportFilecoin.ChainGetBlockReturns the block with the specified CID.
Filecoin.ChainGetBlockMessagesReturns all messages from the specified block.
Filecoin.ChainGetEventsReturns the events under the given event AMT root CID.
Filecoin.ChainGetGenesisFilecoin.ChainGetMessageReturns the message with the specified CID.
Filecoin.ChainGetMessagesInTipsetFilecoin.ChainGetParentMessagesReturns the messages included in the blocks of the parent tipset.
Filecoin.ChainGetParentReceiptsReturns the message receipts included in the blocks of the parent tipset.
Filecoin.ChainGetPathReturns the path between the two specified tipsets.
Filecoin.ChainGetTipSetReturns the tipset with the specified CID.
Filecoin.ChainGetTipSetAfterHeightLooks back and returns the tipset at the specified epoch. If there are no blocks at the given epoch, returns the first non-nil tipset at a later epoch.
Filecoin.ChainGetTipSetByHeightReturns the tipset at the specified height.
Filecoin.ChainHasObjChecks if a given CID exists in the chain blockstore.
Filecoin.ChainHeadReturns the chain head (heaviest tipset).
Filecoin.ChainReadObjReads IPLD nodes referenced by the specified CID from the chain blockstore and returns raw bytes.
Filecoin.ChainSetHeadFilecoin.ChainStatObjFilecoin.ChainTipSetWeightReturns the weight of the specified tipset.
Filecoin.EthAccountsFilecoin.EthAddressToFilecoinAddressConverts an EthAddress into an f410 Filecoin Address
Filecoin.EthBlockNumberFilecoin.EthCallFilecoin.EthChainIdFilecoin.EthEstimateGasFilecoin.EthFeeHistoryFilecoin.EthGasPriceReturns the current gas price in attoFIL
Filecoin.EthGetBalanceReturns the balance of an Ethereum address at the specified block state
Filecoin.EthGetBlockByHashFilecoin.EthGetBlockByNumberRetrieves a block by its number or a special tag.
Filecoin.EthGetBlockReceiptsRetrieves all transaction receipts for a block by its number, hash or a special tag.
Filecoin.EthGetBlockReceiptsLimitedRetrieves all transaction receipts for a block identified by its number, hash or a special tag along with an optional limit on the chain epoch for state resolution.
Filecoin.EthGetBlockTransactionCountByHashFilecoin.EthGetBlockTransactionCountByNumberReturns the number of transactions in a block identified by its block number.
Filecoin.EthGetCodeRetrieves the contract code at a specific address and block state, identified by its number, hash, or a special tag.
Filecoin.EthGetFilterChangesReturns event logs which occurred since the last poll
Filecoin.EthGetFilterLogsFilecoin.EthGetLogsFilecoin.EthGetMessageCidByTransactionHashFilecoin.EthGetStorageAtRetrieves the storage value at a specific position for a contract at a given block state, identified by its number, hash, or a special tag.
Filecoin.EthGetTransactionByBlockHashAndIndexFilecoin.EthGetTransactionByBlockNumberAndIndexRetrieves a transaction by its block number and index.
Filecoin.EthGetTransactionByHashFilecoin.EthGetTransactionByHashLimitedFilecoin.EthGetTransactionCountFilecoin.EthGetTransactionHashByCidFilecoin.EthGetTransactionReceiptFilecoin.EthGetTransactionReceiptLimitedFilecoin.EthMaxPriorityFeePerGasFilecoin.EthNewBlockFilterFilecoin.EthNewFilterFilecoin.EthNewPendingTransactionFilterFilecoin.EthProtocolVersionFilecoin.EthSendRawTransactionFilecoin.EthSendRawTransactionUntrustedFilecoin.EthSubscribeFilecoin.EthSyncingFilecoin.EthTraceBlockReturns traces created at given block.
Filecoin.EthTraceFilterReturns the traces for transactions matching the filter criteria.
Filecoin.EthTraceReplayBlockTransactionsReplays all transactions in a block returning the requested traces for each transaction.
Filecoin.EthTraceTransactionReturns the traces for a specific transaction.
Filecoin.EthUninstallFilterFilecoin.EthUnsubscribeFilecoin.F3GetCertificateFilecoin.F3GetECPowerTableFilecoin.F3GetF3PowerTableFilecoin.F3GetF3PowerTableByInstanceGets the power table (committee) used to validate the specified instance
Filecoin.F3GetLatestCertificateFilecoin.F3GetManifestFilecoin.F3GetOrRenewParticipationTicketFilecoin.F3GetProgressFilecoin.F3IsRunningFilecoin.F3ListParticipantsFilecoin.F3ParticipateFilecoin.FilecoinAddressToEthAddressConverts any Filecoin address to an EthAddress
Filecoin.GasEstimateFeeCapReturns the estimated fee cap for the given parameters.
Filecoin.GasEstimateGasLimitReturns the estimated gas limit for the given parameters.
Filecoin.GasEstimateGasPremiumReturns the estimated gas premium for the given parameters.
Filecoin.GasEstimateMessageGasReturns the estimated gas for the given parameters.
Filecoin.GetActorEventsRawReturns all user-programmed and built-in actor events that match the given filter. Results may be limited by MaxFilterResults, MaxFilterHeightRange, and the node's available historical data.
Filecoin.MarketAddBalanceFilecoin.MinerCreateBlockFills and signs a block template on behalf of the given miner, returning a suitable block header.
Filecoin.MinerGetBaseInfoRetrieves the Miner Actor at the given address and tipset, returning basic information such as power and mining eligibility.
Filecoin.MpoolBatchPushAdds a set of signed messages to the message pool.
Filecoin.MpoolBatchPushUntrustedAdds a set of messages to the message pool with additional verification checks.
Filecoin.MpoolGetNonceReturns the current nonce for the specified address.
Filecoin.MpoolPendingReturns the pending messages for a given tipset.
Filecoin.MpoolPushAdds a signed message to the message pool.
Filecoin.MpoolPushMessageAssigns a nonce, signs, and pushes a message to the mempool.
Filecoin.MpoolPushUntrustedAdds a message to the message pool with verification checks.
Filecoin.MpoolSelectReturns a list of pending messages for inclusion in the next block.
Filecoin.MsigGetAvailableBalanceFilecoin.MsigGetPendingFilecoin.MsigGetVestedFilecoin.MsigGetVestingScheduleFilecoin.NetAddrsListenReturns a list of listening addresses and the peer ID.
Filecoin.NetAgentVersionReturns the agent version string.
Filecoin.NetAutoNatStatusFilecoin.NetConnectConnects to a specified peer.
Filecoin.NetDisconnectDisconnects from the specified peer.
Filecoin.NetFindPeerFilecoin.NetListeningFilecoin.NetPeersReturns a list of currently connected peers.
Filecoin.NetProtectAddProtects a peer from having its connection(s) pruned in the event the libp2p host reaches its maximum number of peers.
Filecoin.NetProtectListReturns the current list of protected peers.
Filecoin.NetProtectRemoveRemove a peer from the protected list.
Filecoin.NetVersionFilecoin.NodeStatusFilecoin.SessionFilecoin.ShutdownFilecoin.StartTimeFilecoin.StateAccountKeyReturns the public key address for the given ID address (secp and bls accounts).
Filecoin.StateCallRuns the given message and returns its result without persisting changes. The message is applied to the tipset's parent state.
Filecoin.StateCirculatingSupplyReturns the exact circulating supply of Filecoin at the given tipset.
Filecoin.StateComputeApplies the given messages on the given tipset
Filecoin.StateDealProviderCollateralBoundsReturns the minimum and maximum collateral a storage provider can issue, based on deal size and verified status.
Filecoin.StateDecodeParamsDecode the provided method params.
Filecoin.StateGetActorReturns the nonce and balance for the specified actor.
Filecoin.StateGetAllAllocationsReturns all allocations available in the verified registry actor.
Filecoin.StateGetAllClaimsReturns all claims available in the verified registry actor.
Filecoin.StateGetAllocationReturns the allocation for a given address and allocation ID.
Filecoin.StateGetAllocationForPendingDealReturns the allocation for the specified pending deal. Returns null if no pending allocation is found.
Filecoin.StateGetAllocationIdForPendingDealReturns the allocation ID for the specified pending deal.
Filecoin.StateGetAllocationsReturns all allocations for a given client.
Filecoin.StateGetBeaconEntryReturns the beacon entries for the specified epoch.
Filecoin.StateGetClaimReturns the claim for a given address and claim ID.
Filecoin.StateGetClaimsReturns all claims for a given provider.
Filecoin.StateGetNetworkParamsReturns current network parameters.
Filecoin.StateGetRandomnessDigestFromBeaconSamples the beacon for randomness.
Filecoin.StateGetRandomnessDigestFromTicketsSamples the chain for randomness.
Filecoin.StateGetRandomnessFromBeaconReturns the beacon entry for the specified Filecoin epoch. If unavailable, the call blocks until it becomes available.
Filecoin.StateGetRandomnessFromTicketsSamples the chain for randomness.
Filecoin.StateGetReceiptFilecoin.StateListActorsReturns the addresses of every actor in the state.
Filecoin.StateListMessagesReturns all messages with a matching to or from address up to the given height.
Filecoin.StateListMinersReturns the addresses of every miner with claimed power in the Power Actor.
Filecoin.StateLookupIDRetrieves the ID address of the given address.
Filecoin.StateLookupRobustAddressReturns the public key address for non-account addresses (e.g., multisig, miners).
Filecoin.StateMarketBalanceReturns the Escrow and Locked balances of the specified address in the Storage Market.
Filecoin.StateMarketDealsReturns information about every deal in the Storage Market.
Filecoin.StateMarketParticipantsReturns the Escrow and Locked balances of all participants in the Storage Market.
Filecoin.StateMarketStorageDealReturns information about the specified deal.
Filecoin.StateMinerActiveSectorsReturns information about sectors actively proven by a given miner.
Filecoin.StateMinerAllocatedReturns a bitfield containing all sector numbers marked as allocated to the provided miner ID.
Filecoin.StateMinerAvailableBalanceReturns the portion of a miner's balance available for withdrawal or spending.
Filecoin.StateMinerDeadlinesReturns all proving deadlines for the given miner.
Filecoin.StateMinerFaultsReturns a bitfield of the faulty sectors for the given miner.
Filecoin.StateMinerInfoReturns information about the specified miner.
Filecoin.StateMinerInitialPledgeCollateralReturns the initial pledge collateral for the specified miner's sector.
Filecoin.StateMinerInitialPledgeForSectorFilecoin.StateMinerPartitionsReturns all partitions in the specified deadline.
Filecoin.StateMinerPowerReturns the power of the specified miner.
Filecoin.StateMinerPreCommitDepositForPowerReturns the sector precommit deposit for the specified miner.
Filecoin.StateMinerProvingDeadlineCalculates the deadline and related details for a given epoch during a proving period.
Filecoin.StateMinerRecoveriesReturns a bitfield of recovering sectors for the given miner.
Filecoin.StateMinerSectorAllocatedChecks if a sector number is marked as allocated.
Filecoin.StateMinerSectorCountReturns the number of sectors in a miner's sector and proving sets.
Filecoin.StateMinerSectorsReturns information about the given miner's sectors. If no filter is provided, all sectors are included.
Filecoin.StateNetworkNameFilecoin.StateNetworkVersionReturns the network version at the given tipset.
Filecoin.StateReadStateReturns the state of the specified actor.
Filecoin.StateReplayReplays a given message, assuming it was included in a block in the specified tipset.
Filecoin.StateSearchMsgReturns the receipt and tipset the specified message was included in.
Filecoin.StateSearchMsgLimitedLooks back up to limit epochs in the chain for a message, and returns its receipt and the tipset where it was executed.
Filecoin.StateSectorExpirationReturns the epoch at which the specified sector will expire.
Filecoin.StateSectorGetInfoReturns on-chain information for the specified miner's sector. Returns null if not found. Use StateSectorExpiration for accurate expiration epochs.
Filecoin.StateSectorPartitionFinds the deadline/partition for the specified sector.
Filecoin.StateSectorPreCommitInfoFilecoin.StateVerifiedClientStatusReturns the data cap for the given address. Returns null if no entry exists in the data cap table.
Filecoin.StateVerifiedRegistryRootKeyReturns the address of the Verified Registry's root key.
Filecoin.StateVerifierStatusReturns the data cap for the given address.
Filecoin.StateVMCirculatingSupplyInternalReturns an approximation of Filecoin's circulating supply at the given tipset.
Filecoin.StateWaitMsgFilecoin.SyncCheckBadFilecoin.SyncMarkBadFilecoin.SyncSubmitBlockSubmits a newly created block to the network.
Filecoin.VersionFilecoin.WalletBalanceReturns the balance of a wallet.
Filecoin.WalletDefaultAddressFilecoin.WalletDeleteFilecoin.WalletExportFilecoin.WalletHasIndicates whether the given address exists in the wallet.
Filecoin.WalletImportFilecoin.WalletListReturns a list of all addresses in the wallet.
Filecoin.WalletNewFilecoin.WalletSetDefaultFilecoin.WalletSignSigns the given bytes using the specified address.
Filecoin.WalletSignMessageSigns the given message using the specified address.
Filecoin.WalletValidateAddressFilecoin.WalletVerifyFilecoin.Web3ClientVersionForest(13 methods)
Forest.ChainExportForest.ChainExportCancelForest.ChainExportDiffForest.ChainExportStatusForest.ChainGetMinBaseFeeForest.ChainGetTipsetByParentStateForest.NetInfoForest.SnapshotGCForest.StateActorInfoReturns the builtin actor information for the current network.
Forest.StateComputeForest.StateFetchRootForest.SyncSnapshotProgressReturns the snapshot download progress. Return Null if the tracking isn't started
Forest.SyncStatusReturns the current sync status of the node.
net(2 methods)
net_listeningnet_versiontrace(4 methods)
trace_blockReturns traces created at given block.
trace_filterReturns the traces for transactions matching the filter criteria.
trace_replayBlockTransactionsReplays all transactions in a block returning the requested traces for each transaction.
trace_transactionReturns the traces for a specific transaction.
web3(1 methods)
web3_clientVersion