Trait GetBalance

Source
pub trait GetBalance {
    type Balance;

    // Required method
    fn get_existential_deposit<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Self::Balance>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Interface to common calls of the substrate balances pallet.

Required Associated Types§

Required Methods§

Source

fn get_existential_deposit<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Self::Balance>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

Source§

impl<T, Client> GetBalance for Api<T, Client>
where T: Config, Client: Request,