Trait substrate_subxt::system::AccountStoreExt[][src]

pub trait AccountStoreExt<T: Runtime + System> {
    fn account<'a>(
        &'a self,
        account_id: &'a T::AccountId,
        hash: Option<T::Hash>
    ) -> Pin<Box<dyn Future<Output = Result<AccountInfo<T>, Error>> + Send + 'a>>;
fn account_iter<'a>(
        &'a self,
        hash: Option<T::Hash>
    ) -> Pin<Box<dyn Future<Output = Result<KeyIter<T, AccountStore<'a, T>>, Error>> + Send + 'a>>; }

Store extension trait.

Required methods

fn account<'a>(
    &'a self,
    account_id: &'a T::AccountId,
    hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<AccountInfo<T>, Error>> + Send + 'a>>
[src]

Retrieve the store element.

fn account_iter<'a>(
    &'a self,
    hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<KeyIter<T, AccountStore<'a, T>>, Error>> + Send + 'a>>
[src]

Iterate over the store element.

Loading content...

Implementors

impl<T: Runtime + System> AccountStoreExt<T> for Client<T>[src]

Loading content...