@ledgerhq/coin-algorand
Version:
Ledger Algorand Coin integration
11 lines • 474 B
TypeScript
export declare const ALGORAND_MIN_ACCOUNT_BALANCE = 100000n;
/**
* Compute minimum balance required for an Algorand account
* Base: 0.1 ALGO + 0.1 ALGO per asset
*/
export declare function computeMinimumBalance(nbAssets: number, isOptingIn?: boolean): bigint;
/**
* Compute max spendable balance for an Algorand account
*/
export declare function computeMaxSpendable(balance: bigint, nbAssets: number, isOptingIn?: boolean): bigint;
//# sourceMappingURL=common.d.ts.map