Algorand TypeScript
    Preparing search index...

    Type Alias Asset

    An Asset on the Algorand network.

    type Asset = {
        clawback: Account;
        creator: Account;
        decimals: uint64;
        defaultFrozen: boolean;
        freeze: Account;
        id: uint64;
        manager: Account;
        metadataHash: bytes;
        name: bytes;
        reserve: Account;
        total: uint64;
        unitName: bytes;
        url: bytes;
        balance(account: Account): uint64;
        frozen(account: Account): boolean;
    }
    Index

    Properties

    clawback: Account

    Clawback address

    creator: Account

    Creator address

    decimals: uint64

    AssetParams.decimals

    defaultFrozen: boolean

    Frozen by default or not

    freeze: Account

    Freeze address

    id: uint64

    Returns the id of the Asset

    manager: Account

    Manager address

    metadataHash: bytes

    Arbitrary commitment

    name: bytes

    Asset name

    reserve: Account

    Reserve address

    total: uint64

    Total number of units of this asset

    unitName: bytes

    Asset unit name

    url: bytes

    URL with additional info about the asset

    Methods

    • 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

      Parameters

      Returns boolean

      isFrozen: boolean