pub trait AccountNonceApi<Block: BlockT, AccountId, Nonce>: Core<Block>where
AccountId: Codec,
Nonce: Codec,{
// Provided method
fn account_nonce(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
account: AccountId
) -> Result<Nonce, ApiError> { ... }
}
Expand description
The API to query account nonce.
Provided Methods§
sourcefn account_nonce(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
account: AccountId
) -> Result<Nonce, ApiError>
fn account_nonce( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, account: AccountId ) -> Result<Nonce, ApiError>
Get current account nonce of given AccountId
.