send abstract method
Future<void>
send({
- required Transaction transaction,
- Duration timeout = const Duration(seconds: 10),
- required TransactionConfirmationHandler onConfirmation,
- required TransactionErrorHandler onError,
Sends a transaction and listens to confirmations.
Sender auto-closes in the following situations : - when transaction is fully confirmed - when timeout is reached - when transaction fails
Implementation
Future<void> send({
required Transaction transaction,
Duration timeout = const Duration(seconds: 10),
required TransactionConfirmationHandler onConfirmation,
required TransactionErrorHandler onError,
});