Struct AssetParams
AssetParams specifies the parameters for an asset.
[apar] when part of an AssetConfig transaction.
Assembly: cs.temp.dll.dll
Syntax
public struct AssetParams : IEquatable<AssetParams>
Fields
Clawback
Address of account used to clawback holdings of this asset. If empty, clawback is not permitted.
Declaration
Field Value
Decimals
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).
Minimum value: 0. Maximum value: 19.
Declaration
Field Value
DefaultFrozen
Whether holdings of this asset are frozen by default.
Declaration
public bool DefaultFrozen
Field Value
Freeze
Address of account used to freeze holdings of this asset. If empty, freezing is not permitted.
Declaration
Field Value
Manager
Address of account used to manage the keys of this asset and to destroy it.
Declaration
Field Value
A commitment to some unspecified asset metadata. The format of this metadata is up to the application.
Declaration
public Sha512_256_Hash MetadataHash
Field Value
Type |
Description |
Sha512_256_Hash |
|
Name
Name of this asset, as supplied by the creator. Included only when the asset name is composed of printable utf-8 characters.
Declaration
public FixedString64Bytes Name
Field Value
Type |
Description |
FixedString64Bytes |
|
Reserve
Address of account holding reserve (non-minted) units of this asset.
Declaration
Field Value
Total
The total number of units of this asset.
Declaration
Field Value
UnitName
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.
Declaration
public FixedString32Bytes UnitName
Field Value
Type |
Description |
FixedString32Bytes |
|
Url
URL where more information about the asset can be retrieved. Included only when the URL is composed of printable utf-8 characters.
Declaration
public FixedString128Bytes Url
Field Value
Type |
Description |
FixedString128Bytes |
|
Methods
Equals(AssetParams)
Declaration
public bool Equals(AssetParams other)
Parameters
Returns