minBalance
Algorand TypeScript / op / minBalance
minBalance(
a):uint64
Defined in: op.ts:3393
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
Section titled “Parameters”Txn.Accounts offset (or, since v4, an available account address), available application id (or, since v4, a Txn.ForeignApps offset).
Returns
Section titled “Returns”value.
Native TEAL opcode: min_balance
Min AVM version: 3