Trait frame_system_rpc_runtime_api::AccountNonceApi[][src]

pub trait AccountNonceApi<Block: BlockT, AccountId, Index>: Core<Block> where
    AccountId: Codec,
    Index: Codec
{ fn account_nonce(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        account: AccountId
    ) -> Result<Index, Self::Error> { ... }
fn account_nonce_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        account: AccountId
    ) -> Result<Index, Self::Error> { ... } }

The API to query account nonce (aka transaction index).

Provided methods

fn account_nonce(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    account: AccountId
) -> Result<Index, Self::Error>
[src]

Get current account nonce of given AccountId.

fn account_nonce_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    account: AccountId
) -> Result<Index, Self::Error>
[src]

Get current account nonce of given AccountId.

Loading content...

Trait Implementations

impl<Block: BlockT, AccountId, Index, __Sr_Api_Error__> RuntimeApiInfo for dyn AccountNonceApi<Block, AccountId, Index, Error = __Sr_Api_Error__>[src]

Implementors

Loading content...