sendTransactions method
Future<String>
sendTransactions(
- List<
SignedTransaction> transactions, { - bool waitForConfirmation = false,
- int timeout = 5,
Group a list of (signed) transactions and broadcast it on the network. This is mostly used for atomic transfers.
Throws an AlgorandException if there is an HTTP error. Returns the id of the transaction.
Implementation
Future<String> sendTransactions(
List<SignedTransaction> transactions, {
bool waitForConfirmation = false,
int timeout = 5,
}) async {
return await _transactionRepository.sendTransactions(
transactions,
waitForConfirmation: waitForConfirmation,
timeout: timeout,
);
}