Asset

Structure of a token.

Constructor

Asset(id: ByteVector, quantity: Int, decimals: Int, issuer: Address, issuerPublicKey: ByteVector, reissuable: Boolean, scripted: Boolean, sponsored: Boolean)

Fields

# Name Data type Description
1 id ByteVector Token ID
2 quantity Int Amount of issued token
3 decimals Int Number of decimal places
4 issuer Address Address of the account that issued a token
5 issuerPublicKey ByteVector Public key of the account that issued a token
6 reissuable Boolean true — token can be reissued, false — cannot be reissued
7 scripted Boolean true — smart asset, false — regular token
8 sponsored Boolean true — token can be sponsored, false — cannot be sponsored

results matching ""

    No results matching ""