referrerpolicy=no-referrer-when-downgrade

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>

Get current account nonce of given AccountId.

Trait Implementations§

§

impl<Block, AccountId, Nonce> RuntimeApiInfo for dyn AccountNonceApi<Block, AccountId, Nonce>
where Block: Block,

§

const ID: [u8; 8] = _

The identifier of the runtime api.
§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§