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 269 methods in V0
eth(40 methods)
eth_accountsReturns the list of addresses owned by the client; always empty since Forest does not manage private keys.
eth_baseFeeReturns the calculated base fee of the upcoming tipset in attoFIL
eth_blockNumberReturns the height of the latest executed tipset, which is the parent of the current head.
eth_callExecutes a read-only message call against the given block state without creating an on-chain transaction, returning the call output.
eth_chainIdReturns the EIP-155 chain ID of the current network.
eth_estimateGasEstimates the amount of gas required to execute the given transaction.
eth_feeHistoryReturns historical gas information for a range of blocks, including base fee per gas, gas used ratio, and priority fee percentiles.
eth_gasPriceReturns the current gas price in attoFIL
eth_getBalanceReturns the balance of an Ethereum address at the specified block state
eth_getBlockByHashRetrieves a block by its hash, optionally including full transaction objects.
eth_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_getBlockTransactionCountByHashReturns the number of messages in the tipset identified by the given block hash.
eth_getBlockTransactionCountByNumberReturns the number of transactions in a block identified by its block number or a special tag.
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_getFilterLogsReturns event logs matching the filter with the given ID that have not been collected since the last poll.
eth_getLogsReturns event logs matching the given filter specification.
eth_getMessageCidByTransactionHashReturns the CID of the Filecoin message corresponding to the given Ethereum transaction hash.
eth_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_getTransactionByBlockHashAndIndexRetrieves a transaction by its block hash and index.
eth_getTransactionByBlockNumberAndIndexRetrieves a transaction by its block number and index.
eth_getTransactionByHashRetrieves a transaction by its hash.
eth_getTransactionByHashLimitedRetrieves a transaction by its hash, limiting state resolution to the given chain epoch.
eth_getTransactionCountReturns the number of transactions sent from an address (its nonce) at the specified block state.
eth_getTransactionHashByCidReturns the Ethereum transaction hash for the given Filecoin message CID.
eth_getTransactionReceiptReturns the receipt of a transaction identified by its hash.
eth_getTransactionReceiptLimitedReturns the receipt of a transaction identified by its hash, limiting state resolution to the given chain epoch.
eth_maxPriorityFeePerGasReturns an estimate of the priority fee per gas (tip) needed for timely inclusion, in attoFIL.
eth_newBlockFilterInstalls a persistent filter that tracks the arrival of new blocks.
eth_newFilterInstalls a persistent filter for matching event logs based on the given filter spec.
eth_newPendingTransactionFilterInstalls a persistent filter that tracks new messages arriving in the message pool.
eth_protocolVersionReturns the current Filecoin network version, reported as the Ethereum protocol version.
eth_sendRawTransactionSubmits a signed raw transaction to the message pool and returns its transaction hash.
eth_sendRawTransactionUntrustedSubmits a signed raw transaction from an untrusted source to the message pool and returns its transaction hash.
eth_subscribeCreates a websocket subscription that streams events (new heads, pending transactions, or logs) to the client.
eth_syncingReturns the node's sync status, or `false` if the node is not currently syncing.
eth_uninstallFilterUninstalls the filter with the given ID.
eth_unsubscribeCancels an existing websocket subscription identified by its subscription ID.
F3(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(196 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.EthAccountsReturns the list of addresses owned by the client; always empty since Forest does not manage private keys.
Filecoin.EthAddressToFilecoinAddressConverts an EthAddress into an f410 Filecoin Address
Filecoin.EthBaseFeeReturns the calculated base fee of the upcoming tipset in attoFIL
Filecoin.EthBlockNumberReturns the height of the latest executed tipset, which is the parent of the current head.
Filecoin.EthCallExecutes a read-only message call against the given block state without creating an on-chain transaction, returning the call output.
Filecoin.EthChainIdReturns the EIP-155 chain ID of the current network.
Filecoin.EthEstimateGasEstimates the amount of gas required to execute the given transaction.
Filecoin.EthFeeHistoryReturns historical gas information for a range of blocks, including base fee per gas, gas used ratio, and priority fee percentiles.
Filecoin.EthGasPriceReturns the current gas price in attoFIL
Filecoin.EthGetBalanceReturns the balance of an Ethereum address at the specified block state
Filecoin.EthGetBlockByHashRetrieves a block by its hash, optionally including full transaction objects.
Filecoin.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.EthGetBlockTransactionCountByHashReturns the number of messages in the tipset identified by the given block hash.
Filecoin.EthGetBlockTransactionCountByNumberReturns the number of transactions in a block identified by its block number or a special tag.
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.EthGetFilterLogsReturns event logs matching the filter with the given ID that have not been collected since the last poll.
Filecoin.EthGetLogsReturns event logs matching the given filter specification.
Filecoin.EthGetMessageCidByTransactionHashReturns the CID of the Filecoin message corresponding to the given Ethereum transaction hash.
Filecoin.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.EthGetTransactionByBlockHashAndIndexRetrieves a transaction by its block hash and index.
Filecoin.EthGetTransactionByBlockNumberAndIndexRetrieves a transaction by its block number and index.
Filecoin.EthGetTransactionByHashRetrieves a transaction by its hash.
Filecoin.EthGetTransactionByHashLimitedRetrieves a transaction by its hash, limiting state resolution to the given chain epoch.
Filecoin.EthGetTransactionCountReturns the number of transactions sent from an address (its nonce) at the specified block state.
Filecoin.EthGetTransactionHashByCidReturns the Ethereum transaction hash for the given Filecoin message CID.
Filecoin.EthGetTransactionReceiptReturns the receipt of a transaction identified by its hash.
Filecoin.EthGetTransactionReceiptLimitedReturns the receipt of a transaction identified by its hash, limiting state resolution to the given chain epoch.
Filecoin.EthMaxPriorityFeePerGasReturns an estimate of the priority fee per gas (tip) needed for timely inclusion, in attoFIL.
Filecoin.EthNewBlockFilterInstalls a persistent filter that tracks the arrival of new blocks.
Filecoin.EthNewFilterInstalls a persistent filter for matching event logs based on the given filter spec.
Filecoin.EthNewPendingTransactionFilterInstalls a persistent filter that tracks new messages arriving in the message pool.
Filecoin.EthProtocolVersionReturns the current Filecoin network version, reported as the Ethereum protocol version.
Filecoin.EthSendRawTransactionSubmits a signed raw transaction to the message pool and returns its transaction hash.
Filecoin.EthSendRawTransactionUntrustedSubmits a signed raw transaction from an untrusted source to the message pool and returns its transaction hash.
Filecoin.EthSubscribeCreates a websocket subscription that streams events (new heads, pending transactions, or logs) to the client.
Filecoin.EthSyncingReturns the node's sync status, or `false` if the node is not currently syncing.
Filecoin.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.EthUninstallFilterUninstalls the filter with the given ID.
Filecoin.EthUnsubscribeCancels an existing websocket subscription identified by its subscription ID.
Filecoin.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.MpoolGetConfigReturns a copy of the current mpool config.
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.NetAutoNatStatusReturns the node's AutoNAT reachability status and observed public addresses.
Filecoin.NetConnectConnects to a specified peer.
Filecoin.NetDisconnectDisconnects from the specified peer.
Filecoin.NetFindPeerReturns the known addresses of the peer with the given peer ID.
Filecoin.NetListeningReturns whether the node is listening for network connections (always `true`).
Filecoin.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.NetVersionReturns the current network ID (the EIP-155 chain ID) as a decimal string.
Filecoin.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.StateGetReceiptReturns the receipt for the message with the given CID at the specified tipset (deprecated in V1).
Filecoin.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.StateMinerInitialPledgeForSectorReturns the initial pledge collateral required to commit a sector with the given duration, size, and verified deal size at the specified tipset.
Filecoin.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.StateNetworkNameReturns the name of the network the node is synced to.
Filecoin.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, or null if the message was not found.
Filecoin.StateSearchMsgLimitedLooks back up to limit epochs in the chain for a message, and returns its receipt and the tipset where it was executed, or null if it was not found.
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.StateSectorPreCommitInfoReturns the on-chain pre-commit information for the given miner's sector, erroring if the sector is not precommitted.
Filecoin.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.StateWaitMsgSearches the chain for the given message and, if not found, blocks until it appears on-chain and reaches the required confidence depth.
Filecoin.SyncCheckBadFilecoin.SyncMarkBadFilecoin.SyncSubmitBlockSubmits a newly created block to the network.
Filecoin.VersionFilecoin.WalletBalanceReturns the balance of a wallet.
Filecoin.WalletDefaultAddressReturns the default wallet address, or null if no default is set.
Filecoin.WalletDeleteRemoves the key for the given address from the wallet.
Filecoin.WalletExportExports the key information, including the private key, for the given wallet address.
Filecoin.WalletHasIndicates whether the given address exists in the wallet.
Filecoin.WalletImportImports a key into the wallet and returns its address.
Filecoin.WalletListReturns a list of all addresses in the wallet.
Filecoin.WalletNewGenerates a new key of the given signature type, adds it to the wallet, and returns its address.
Filecoin.WalletSetDefaultSets the given address as the default wallet address.
Filecoin.WalletSignSigns the given bytes using the specified address.
Filecoin.WalletSignMessageSigns the given message using the specified address.
Filecoin.WalletValidateAddressValidates the given string as a Filecoin address and returns the parsed address.
Filecoin.WalletVerifyReturns whether the given signature is valid for the message and address.
Filecoin.Web3ClientVersionReturns the client version string of the running node.
Forest(15 methods)
Forest.BaseFeeByHeightReturns the calculated upcoming base fee of the tipset at the given height in attoFIL
Forest.ChainExportForest.ChainExportCancelForest.ChainExportDiffForest.ChainExportStatusForest.ChainGetMinBaseFeeForest.ChainGetTipsetByParentStateForest.NetChainExchangeInternal API for debugging chain exchange.
Forest.NetInfoReturns peer and connection statistics for the node's libp2p network.
Forest.SnapshotGCForest.StateActorInfoReturns the builtin actor information for the current network.
Forest.StateComputeForest-specific RPC method that recomputes tipset state over an epoch range. It reuses cached executed tipsets only when the cached state root is loadable; otherwise it recomputes. Unlike Filecoin.StateCompute, it does not apply caller-supplied messages or return execution traces.
Forest.StateFetchRootTraverses the IPLD graph under the given root CID, fetching any missing nodes over the network, and optionally writes them to a CAR file.
Forest.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_listeningReturns whether the node is listening for network connections (always `true`).
net_versionReturns the current network ID (the EIP-155 chain ID) as a decimal string.
trace(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_clientVersionReturns the client version string of the running node.