Trait sc_rpc_api::mixnet::MixnetApiClient

source ·
pub trait MixnetApiClient: ClientT {
    // Provided method
    fn submit_extrinsic<'life0, 'async_trait>(
        &'life0 self,
        extrinsic: Bytes,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Client implementation for the MixnetApi RPC API.

Provided Methods§

source

fn submit_extrinsic<'life0, 'async_trait>( &'life0 self, extrinsic: Bytes, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

Submit encoded extrinsic over the mixnet for inclusion in block.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<TypeJsonRpseeInteral> MixnetApiClient for TypeJsonRpseeInteral
where TypeJsonRpseeInteral: ClientT,