Trait fuels_accounts::provider::ClientExt
source · 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§
sourcefn 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,
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.