Function waitForConfirmation

  • Wait until a transaction has been confirmed or rejected by the network, or until 'waitRounds' number of rounds have passed.


    A promise that, upon success, will resolve to the output of the pendingTransactionInformation call for the confirmed transaction.


    • client: Algodv2

      An Algodv2 client

    • txid: string

      The ID of the transaction to wait for.

    • waitRounds: number

      The maximum number of rounds to wait for.

    Returns Promise<Record<string, any>>

Generated using TypeDoc