pub async fn submit<C: Call<T> + Send + Sync>(
        &self,
        call: C,
        signer: &(dyn Signer<T> + Send + Sync),
    ) -> Result<T::Hash, Error>
    where
        <<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned:
            Send + Sync,
    {
        let extrinsic = self.create_signed(call, signer, Default::default()).await?;
        self.submit_extrinsic(extrinsic).await
    }
/// Submits a transaction to the chain.
Submits a transaction to the chain.
Submits a transaction to the chain .
pub async fn submit<C: Call<T> + Send + Sync>(
        &self,
        call: C,
        signer: &(dyn Signer<T> + Send + Sync),
    ) -> Result<T::Hash, Error>
    where
        <<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned:
            Send + Sync,
    {
        let extrinsic = self.create_signed(call, signer, Default::default()).await?;
        self.submit_extrinsic(extrinsic).await
    }
pub async fn submit < C : Call < T > + Send + Sync > ( & self , call : C , signer : & ( dyn Signer < T > + Send + Sync ) , ) -> Result < T :: Hash , Error > where < < T :: Extra as SignedExtra < T > > :: Extra as SignedExtension > :: AdditionalSigned : Send + Sync , { let extrinsic = self . create_signed ( call , signer , Default :: default ( ) ) . await ? ; self . submit_extrinsic ( extrinsic ) . await }
Submits a transaction to the chain.
Submits a transaction to the chain .
&self
call
C
signer
&(dyn Signer<T> + Send + Sync)
&self
call
C
signer
&(dyn Signer<T> + Send + Sync)