Constructors

Properties

Constructors

Properties

am?: Uint8Array

MetaDataHash

This field is intended to be a 32-byte hash of some metadata that is relevant to your asset and/or asset holders. The format of this metadata is up to the application. This field can only be specified upon creation. An example might be the hash of some certificate that acknowledges the digitized asset as the official representation of a particular real-world asset.

an?: string

Asset Name

The name of the asset. Supplied on creation. Max size is 32 bytes. Example: Tether

au?: string

URL

Specifies a URL where more information about the asset can be retrieved. Max size is 96 bytes.

c?: Uint8Array

Clawback Address

The address of the account that can clawback holdings of this asset. If empty, clawback is not permitted.

dc?: bigint

Decimals

The number of digits to use after the decimal point when displaying the asset. If 0, the asset is not divisible. If 1, the base unit of the asset is in tenths. If 2, the base unit of the asset is in hundredths, if 3, the base unit of the asset is in thousandths, and so on up to 19 decimal places

df?: boolean

Default Frozen

True to freeze holdings for this asset by default.

f?: Uint8Array

Freeze Address The address of the account used to freeze holdings of this asset. If empty, freezing is not permitted.

m?: Uint8Array

Manager Address

The address of the account that can manage the configuration of the asset and destroy it.

r?: Uint8Array

Reserve Address

The address of the account that holds the reserve (non-minted) units of the asset. This address has no specific authority in the protocol itself. It is used in the case where you want to signal to holders of your asset that the non-minted units of the asset reside in an account that is different from the default creator account (the sender).

t?: bigint

Total

The total number of base units of the asset to create. This number cannot be changed.

un?: string

Unit Name

The name of a unit of this asset. Supplied on creation. Max size is 8 bytes. Example: USDT