Skip to content

Asset

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / index / Asset

Asset: object

Defined in: packages/algo-ts/src/reference.ts:122

An Asset on the Algorand network.

readonly clawback: Account

Clawback address

readonly creator: Account

Creator address

readonly decimals: uint64

AssetParams.decimals

readonly defaultFrozen: boolean

Frozen by default or not

readonly freeze: Account

Freeze address

readonly id: uint64

Returns the id of the Asset

readonly manager: Account

Manager address

readonly metadataHash: bytes

Arbitrary commitment

readonly name: bytes

Asset name

readonly reserve: Account

Reserve address

readonly total: uint64

Total number of units of this asset

readonly unitName: bytes

Asset unit name

readonly url: bytes

URL with additional info about the asset

Amount of the asset unit held by this account. Fails if the account has not opted in to the asset. Asset and supplied Account must be an available resource

Account

Account

uint64

balance: uint64

Is the asset frozen or not. Fails if the account has not opted in to the asset. Asset and supplied Account must be an available resource

Account

Account

boolean

isFrozen: boolean