Interface IClient

Hierarchy

Implemented by

Methods

getAccountInfo getAccountInfoByBlockHash getAccountInfoByBlockHeight getAuctionInfoByHash getAuctionInfoByHeight getAuctionInfoV1ByHash getAuctionInfoV1ByHeight getBalanceByStateRootHash getBlockByHash getBlockByHeight getBlockTransfersByHash getBlockTransfersByHeight getChainspec getDelegatorRewardByBlockHash getDelegatorRewardByBlockHeight getDelegatorRewardByEraID getDeploy getDeployFinalizedApproval getDictionaryItem getDictionaryItemByIdentifier getEntityByBlockHash getEntityByBlockHeight getEraInfoByBlockHash getEraInfoByBlockHeight getEraInfoLatest getEraSummaryByHash getEraSummaryByHeight getEraSummaryLatest getLatestAuctionInfo getLatestAuctionInfoV1 getLatestBalance getLatestBlock getLatestBlockTransfers getLatestDelegatorReward getLatestEntity getLatestValidatorReward getPeers getStateItem getStateRootHashByHash getStateRootHashByHeight getStateRootHashLatest getStatus getTransactionByDeployHash getTransactionByTransactionHash getTransactionFinalizedApprovalByDeployHash getTransactionFinalizedApprovalByTransactionHash getValidatorChangesInfo getValidatorRewardByBlockHash getValidatorRewardByBlockHeight getValidatorRewardByEraID putDeploy putTransaction queryBalanceByBlockHash queryBalanceByBlockHeight queryBalanceByStateRootHash queryBalanceDetailsByBlockHash queryBalanceDetailsByBlockHeight queryBalanceDetailsByStateRootHash queryGlobalStateByBlockHash queryGlobalStateByBlockHeight queryGlobalStateByStateHash queryLatestBalance queryLatestBalanceDetails queryLatestGlobalState

Methods

  • ⚠️ Deprecated: getStateItem is deprecated and will be removed in a future release.

    Use queryLatestGlobalState, queryGlobalStateByBlockHash, queryGlobalStateByBlockHeight, or queryGlobalStateByStateHash instead.

    Reason: The newer Global State Query API provides more consistent behavior across block identifiers and supports both stored values and typed keys.

    Deprecated

    Use Global State Query methods instead.

    Parameters

    • stateRootHash: null | string
    • key: string
    • path: string[]

    Returns Promise<StateGetItemResult>

Generated using TypeDoc