[][src]Trait sunshine_identity_client::RemoveKeyCallExt

pub trait RemoveKeyCallExt<T: Runtime + Identity> {
    fn remove_key<'a>(
        &'a self,
        signer: &'a (dyn Signer<T> + Send + Sync),
        key: &'a <T as System>::AccountId
    ) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>;
fn remove_key_and_watch<'a>(
        &'a self,
        signer: &'a (dyn Signer<T> + Send + Sync),
        key: &'a <T as System>::AccountId
    ) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>; }

Call extension trait.

Required methods

fn remove_key<'a>(
    &'a self,
    signer: &'a (dyn Signer<T> + Send + Sync),
    key: &'a <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>

Create and submit an extrinsic.

fn remove_key_and_watch<'a>(
    &'a self,
    signer: &'a (dyn Signer<T> + Send + Sync),
    key: &'a <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>

Create, submit and watch an extrinsic.

Loading content...

Implementations on Foreign Types

impl<T: Runtime + Identity> RemoveKeyCallExt<T> for Client<T> where
    <<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned: Send + Sync
[src]

Loading content...

Implementors

Loading content...