diff --git a/packages/fuels-accounts/src/provider/retryable_client.rs b/packages/fuels-accounts/src/provider/retryable_client.rs index 78c95a13b3..b2e2c4808a 100644 --- a/packages/fuels-accounts/src/provider/retryable_client.rs +++ b/packages/fuels-accounts/src/provider/retryable_client.rs @@ -61,6 +61,10 @@ impl RetryableClient { self.our_retry(|| self.client.chain_info()).await } + pub async fn await_transaction_commit(&self, id: &TxId) -> io::Result { + self.our_retry(|| self.client.await_transaction_commit(id)) + } + pub async fn submit_and_await_commit(&self, tx: &Transaction) -> io::Result { self.our_retry(|| self.client.submit_and_await_commit(tx)) .await