Assets - Algorand Specifications

Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Algorand Specifications

Each account can create assets, named by a globally-unique 64-bit unsigned integer (the asset ID).

Assets are associated with a set of asset parameters, which can be encoded as a msgpack struct:

Parameters for assets created by an account are stored alongside the account state, denoted by a pair (address, asset ID).

Accounts can create and hold any number of assets.

An account must hold every asset that it created (even if it holds 00 units of that asset), until that asset is destroyed.

An account’s asset holding is simply a map from asset IDs to an integer value indicating how many units of that asset are held by the account, and a boolean flag indicating if the holding is frozen or unfrozen.

An account that holds any asset cannot be closed.

When an account opts in to an asset or creates an asset, the minimum balance requirements for that account increases. The minimum balance requirement is decreased equivalently when an account closes out or deletes an asset.

When opting in to an asset, there is a base minimum balance increase of bminbmin μALGO.

When creating an asset, there is a base minimum balance increase of bminbmin μALGO.