- Preparing search index...
- The search index is not available
casper-js-sdk
Interface ClientInformational
Methods
getAccountInfoByBlockHash
getAccountInfoByBlockHeight
getBalanceByStateRootHash
- getBalanceByStateRootHash(purseURef: string, stateRootHash: string): Promise<StateGetBalanceResult>
-
Parameters
-
purseURef: string
-
stateRootHash: string
getBlockTransfersByHeight
getDelegatorRewardByBlockHash
getDelegatorRewardByBlockHeight
getDelegatorRewardByEraID
getDeployFinalizedApproval
getDictionaryItem
- getDictionaryItem(stateRootHash: null | string, uref: string, key: string): Promise<StateGetDictionaryResult>
-
Parameters
-
stateRootHash: null | string
-
uref: string
-
key: string
getDictionaryItemByIdentifier
getStateItem
- getStateItem(stateRootHash: null | string, key: string, path: string[]): Promise<StateGetItemResult>
-
Parameters
-
stateRootHash: null | string
-
key: string
-
path: string[]
getTransactionByDeployHash
getTransactionByTransactionHash
getTransactionFinalizedApprovalByDeployHash
getTransactionFinalizedApprovalByTransactionHash
getValidatorRewardByBlockHash
getValidatorRewardByBlockHeight
getValidatorRewardByEraID
queryBalanceByBlockHeight
queryBalanceByStateRootHash
queryBalanceDetailsByBlockHash
queryBalanceDetailsByBlockHeight
queryBalanceDetailsByStateRootHash
queryGlobalStateByBlockHash
- queryGlobalStateByBlockHash(blockHash: string, key: string, path: string[]): Promise<QueryGlobalStateResult>
-
Parameters
-
blockHash: string
-
key: string
-
path: string[]
queryGlobalStateByBlockHeight
- queryGlobalStateByBlockHeight(blockHeight: number, key: string, path: string[]): Promise<QueryGlobalStateResult>
-
Parameters
-
blockHeight: number
-
key: string
-
path: string[]
queryGlobalStateByStateHash
- queryGlobalStateByStateHash(stateRootHash: null | string, key: string, path: string[]): Promise<QueryGlobalStateResult>
-
Parameters
-
stateRootHash: null | string
-
key: string
-
path: string[]
queryLatestBalanceDetails
queryLatestGlobalState
- queryLatestGlobalState(key: string, path: string[]): Promise<QueryGlobalStateResult>
-
Parameters
-
key: string
-
path: string[]
⚠️ Deprecated:
getStateItemis deprecated and will be removed in a future release.Use
queryLatestGlobalState,queryGlobalStateByBlockHash,queryGlobalStateByBlockHeight, orqueryGlobalStateByStateHashinstead.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.