waitForConfirmation
waitForConfirmation(
transactionId,maxRoundsToWait,algod):Promise<PendingTransactionResponse>
Defined in: algokit-utils-ts/src/transaction/transaction.ts:1052
Wait until the transaction is confirmed or rejected, or until timeout
number of rounds have passed.
Parameters
Section titled “Parameters”transactionId
Section titled “transactionId”string
The transaction ID to wait for
maxRoundsToWait
Section titled “maxRoundsToWait”number | bigint
Maximum number of rounds to wait
AlgodClient
An algod client
Returns
Section titled “Returns”Promise<PendingTransactionResponse>
Pending transaction information
Throws
Section titled “Throws”Throws an error if the transaction is not confirmed or rejected in the next timeout rounds