sendTransaction method Null safety
Broadcast a new (signed) transaction on the network.
Throws an AlgorandException
if there is an HTTP error.
Returns the id of the transaction.
Implementation
Future<String> sendTransaction(
SignedTransaction transaction, {
bool waitForConfirmation = false,
int timeout = 5,
}) async {
return await _transactionRepository.sendTransaction(
transaction,
waitForConfirmation: waitForConfirmation,
timeout: timeout,
);
}