AssetInformation
Defined in: src/asset-manager.ts:18
Information about an asset.
Properties
Section titled “Properties”assetId
Section titled “assetId”assetId:
bigint
Defined in: src/asset-manager.ts:20
The ID of the asset.
assetName?
Section titled “assetName?”
optionalassetName:string
Defined in: src/asset-manager.ts:111
The optional name of the asset.
Max size is 32 bytes.
assetNameAsBytes?
Section titled “assetNameAsBytes?”
optionalassetNameAsBytes:Uint8Array<ArrayBufferLike>
Defined in: src/asset-manager.ts:117
The optional name of the asset.
Max size is 32 bytes.
clawback?
Section titled “clawback?”
optionalclawback:string
Defined in: src/asset-manager.ts:93
The address of the optional account that can clawback holdings of this asset from any account.
The clawback account has the ability to unconditionally take assets from any account.
If empty, clawback is not permitted.
If not set the field is permanently empty.
creator
Section titled “creator”creator:
string
Defined in: src/asset-manager.ts:28
The address of the account that created the asset.
This is the address where the parameters for this asset can be found, and also the address where unwanted asset units can be sent when closing out an asset position and opting-out of the asset.
decimals
Section titled “decimals”decimals:
number
Defined in: src/asset-manager.ts:44
The amount of decimal places the asset was created with.
- 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.
defaultFrozen?
Section titled “defaultFrozen?”
optionaldefaultFrozen:boolean
Defined in: src/asset-manager.ts:52
Whether the asset was frozen by default for all accounts.
If true then for anyone apart from the creator to hold the
asset it needs to be unfrozen per account using an asset freeze
transaction from the freeze account.
freeze?
Section titled “freeze?”
optionalfreeze:string
Defined in: src/asset-manager.ts:82
The address of the optional account that can be used to freeze or unfreeze holdings of this asset for any account.
If empty, freezing is not permitted.
If not set the field is permanently empty.
manager?
Section titled “manager?”
optionalmanager:string
Defined in: src/asset-manager.ts:58
The address of the optional account that can manage the configuration of the asset and destroy it.
If not set the asset is permanently immutable.
metadataHash?
Section titled “metadataHash?”
optionalmetadataHash:Uint8Array<ArrayBufferLike>
Defined in: src/asset-manager.ts:135
32-byte hash of some metadata that is relevant to the asset and/or asset holders.
The format of this metadata is up to the application.
reserve?
Section titled “reserve?”
optionalreserve:string
Defined in: src/asset-manager.ts:73
The address of the optional account that holds the reserve (uncirculated supply) units of the asset.
This address has no specific authority in the protocol itself and is informational only.
Some standards like ARC-19 rely on this field to hold meaningful data.
It can be used in the case where you want to signal to holders of your asset that the uncirculated units of the asset reside in an account that is different from the default creator account.
If not set the field is permanently empty.
total:
bigint
Defined in: src/asset-manager.ts:34
The total amount of the smallest divisible (decimal) units that were created of the asset.
For example, if decimals is, say, 2, then for every 100 total there is 1 whole unit.
unitName?
Section titled “unitName?”
optionalunitName:string
Defined in: src/asset-manager.ts:99
The optional name of the unit of this asset (e.g. ticker name).
Max size is 8 bytes.
unitNameAsBytes?
Section titled “unitNameAsBytes?”
optionalunitNameAsBytes:Uint8Array<ArrayBufferLike>
Defined in: src/asset-manager.ts:105
The optional name of the unit of this asset (e.g. ticker name).
Max size is 8 bytes.
optionalurl:string
Defined in: src/asset-manager.ts:123
Optional URL where more information about the asset can be retrieved (e.g. metadata).
Max size is 96 bytes.
urlAsBytes?
Section titled “urlAsBytes?”
optionalurlAsBytes:Uint8Array<ArrayBufferLike>
Defined in: src/asset-manager.ts:129
Optional URL where more information about the asset can be retrieved (e.g. metadata).
Max size is 96 bytes.