pub trait TransactionBroadcastApiClient: ClientT {
    // Provided methods
    fn broadcast<'life0, 'async_trait>(
        &'life0 self,
        bytes: Bytes
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, Error>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn stop_broadcast<'life0, 'async_trait>(
        &'life0 self,
        operation_id: String
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Client implementation for the TransactionBroadcastApi RPC API.

Provided Methods§

source

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

Broadcast an extrinsic to the chain.

§Unstable

This method is unstable and subject to change in the future.

source

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

Broadcast an extrinsic to the chain.

§Unstable

This method is unstable and subject to change in the future.

Object Safety§

This trait is not object safe.

Implementors§

source§

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