Trait substrate_subxt::session::SetKeysCallExt[][src]

pub trait SetKeysCallExt<T: Runtime + Session> {
    fn set_keys<'a>(
        &'a self,
        signer: &'a (dyn Signer<T> + Send + Sync),
        keys: T::Keys,
        proof: Vec<u8>
    ) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>;
fn set_keys_and_watch<'a>(
        &'a self,
        signer: &'a (dyn Signer<T> + Send + Sync),
        keys: T::Keys,
        proof: Vec<u8>
    ) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>; }

Call extension trait.

Required methods

fn set_keys<'a>(
    &'a self,
    signer: &'a (dyn Signer<T> + Send + Sync),
    keys: T::Keys,
    proof: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<T::Hash, Error>> + Send + 'a>>
[src]

Create and submit an extrinsic.

fn set_keys_and_watch<'a>(
    &'a self,
    signer: &'a (dyn Signer<T> + Send + Sync),
    keys: T::Keys,
    proof: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<ExtrinsicSuccess<T>, Error>> + Send + 'a>>
[src]

Create, submit and watch an extrinsic.

Loading content...

Implementors

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

Loading content...