RootSoft / algorand-dart

Unofficial community SDK to interact with the Algorand network, for Dart & Flutter
MIT License
36 stars 16 forks source link

sendTransactions add waitForConfirmation #15

Closed 2i2i closed 2 years ago

RootSoft commented 2 years ago

I will add waitForConfirmation to sendTransactions. Note that the method will always and only return the transaction id.

If you are interested in the pending transaction result, you can always do the following:

final txId = await algorand.sendTransactions([
  stateTxnSigned,
  paymentSigned,
]);

final result = await algorand.waitForConfirmation(txId);
RootSoft commented 2 years ago

Added in v1.0.0