sendTransaction method
Future<String>
sendTransaction(
- SignedTransaction transaction, {
- bool waitForConfirmation = false,
- int? timeout,
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,
}) async {
return _transactionRepository.sendTransaction(
transaction,
waitForConfirmation: waitForConfirmation,
timeout: timeout ?? _options.timeout,
);
}