Skip to content

minBalance

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / op / minBalance

Function: minBalance()

minBalance(a): uint64

Defined in: packages/algo-ts/src/op.ts:3339

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

Returns

uint64

value.

See

Native TEAL opcode: min_balance Min AVM version: 3