Algorand TypeScript
    Preparing search index...

    Function ensureBudget

    • Ensure the available op code budget is greater than or equal to requiredBudget.

      This is done by adding AppCall itxns to the group to increase the available budget. These itxns must be paid for by the caller or the application.

      Parameters

      • requiredBudget: uint64

        The total required budget

      • feeSource: OpUpFeeSource = OpUpFeeSource.GroupCredit

        Which source to withdraw txn fees from.

      Returns void