AssetParams
AssetParams =
object
Defined in: packages/algod_client/src/models/asset-params.ts:12
AssetParams specifies the parameters for an asset.
[apar] when part of an AssetConfig transaction.
Definition: data/transactions/asset.go : AssetParams
Properties
Section titled “Properties”clawback?
Section titled “clawback?”
optionalclawback:string
Defined in: packages/algod_client/src/models/asset-params.ts:16
[c] Address of account used to clawback holdings of this asset. If empty, clawback is not permitted.
creator
Section titled “creator”creator:
string
Defined in: packages/algod_client/src/models/asset-params.ts:21
The address that created this 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 in the worst case.
decimals
Section titled “decimals”decimals:
number
Defined in: packages/algod_client/src/models/asset-params.ts:26
[dc] The number of digits to use after the decimal point when displaying this 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, and so on. This value must be between 0 and 19 (inclusive).
defaultFrozen?
Section titled “defaultFrozen?”
optionaldefaultFrozen:boolean
Defined in: packages/algod_client/src/models/asset-params.ts:31
[df] Whether holdings of this asset are frozen by default.
freeze?
Section titled “freeze?”
optionalfreeze:string
Defined in: packages/algod_client/src/models/asset-params.ts:36
[f] Address of account used to freeze holdings of this asset. If empty, freezing is not permitted.
manager?
Section titled “manager?”
optionalmanager:string
Defined in: packages/algod_client/src/models/asset-params.ts:41
[m] Address of account used to manage the keys of this asset and to destroy it.
metadataHash?
Section titled “metadataHash?”
optionalmetadataHash:Uint8Array
Defined in: packages/algod_client/src/models/asset-params.ts:46
[am] A commitment to some unspecified asset metadata. The format of this metadata is up to the application.
optionalname:string
Defined in: packages/algod_client/src/models/asset-params.ts:51
[an] Name of this asset, as supplied by the creator. Included only when the asset name is composed of printable utf-8 characters.
nameB64?
Section titled “nameB64?”
optionalnameB64:Uint8Array
Defined in: packages/algod_client/src/models/asset-params.ts:56
Base64 encoded name of this asset, as supplied by the creator.
reserve?
Section titled “reserve?”
optionalreserve:string
Defined in: packages/algod_client/src/models/asset-params.ts:61
[r] Address of account holding reserve (non-minted) units of this asset.
total:
bigint
Defined in: packages/algod_client/src/models/asset-params.ts:66
[t] The total number of units of this asset.
unitName?
Section titled “unitName?”
optionalunitName:string
Defined in: packages/algod_client/src/models/asset-params.ts:71
[un] Name of a unit of this asset, as supplied by the creator. Included only when the name of a unit of this asset is composed of printable utf-8 characters.
unitNameB64?
Section titled “unitNameB64?”
optionalunitNameB64:Uint8Array
Defined in: packages/algod_client/src/models/asset-params.ts:76
Base64 encoded name of a unit of this asset, as supplied by the creator.
optionalurl:string
Defined in: packages/algod_client/src/models/asset-params.ts:81
[au] URL where more information about the asset can be retrieved. Included only when the URL is composed of printable utf-8 characters.
urlB64?
Section titled “urlB64?”
optionalurlB64:Uint8Array
Defined in: packages/algod_client/src/models/asset-params.ts:86
Base64 encoded URL where more information about the asset can be retrieved.