pub trait ClientExt {
    // Required method
    fn submit_and_await_commit_with_receipts<'life0, 'life1, 'async_trait>(
        &'life0 self,
        tx: &'life1 Transaction
    ) -> Pin<Box<dyn Future<Output = Result<(TransactionStatus, Option<Vec<Receipt>>)>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Extends the functionality of the FuelClient.

Required Methods§

source

fn submit_and_await_commit_with_receipts<'life0, 'life1, 'async_trait>( &'life0 self, tx: &'life1 Transaction ) -> Pin<Box<dyn Future<Output = Result<(TransactionStatus, Option<Vec<Receipt>>)>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Submits transaction, await confirmation and return receipts.

Implementations on Foreign Types§

source§

impl ClientExt for FuelClient

source§

fn submit_and_await_commit_with_receipts<'life0, 'life1, 'async_trait>( &'life0 self, tx: &'life1 Transaction ) -> Pin<Box<dyn Future<Output = Result<(TransactionStatus, Option<Vec<Receipt>>)>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§