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