Algorand TypeScript
    Preparing search index...

    Function minBalance

    • minimum required balance for account A, in microalgos. Required balance is affected by ASA, App, and Box usage. When creating or opting into an app, the minimum balance grows before the app code runs, therefore the increase is visible there. When deleting or closing out, the minimum balance decreases after the app executes. Changes caused by inner transactions or box usage are observable immediately following the opcode effecting the change.

      Parameters

      • a: uint64 | Account

        Txn.Accounts offset (or, since v4, an available account address), available application id (or, since v4, a Txn.ForeignApps offset).

      Returns uint64

      value.

      Native TEAL opcode: min_balance Min AVM version: 3