Struct AssetParams
AssetParams specifies the parameters for an asset.
[apar] when part of an AssetConfig transaction.
Assembly: cs.temp.dll.dll
Syntax
[AlgoApiObject("", "", 0)]
[Serializable]
public struct AssetParams : IEquatable<AssetParams>
Fields
Clawback
Address of account used to clawback holdings of this asset. If empty, clawback is not permitted.
Declaration
[AlgoApiField("c")]
public Address Clawback
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
[AlgoApiField("dc")]
public uint Decimals
Field Value
DefaultFrozen
Whether holdings of this asset are frozen by default.
Declaration
[AlgoApiField("df")]
public bool DefaultFrozen
Field Value
Freeze
Address of account used to freeze holdings of this asset. If empty, freezing is not permitted.
Declaration
[AlgoApiField("f")]
public Address Freeze
Field Value
Manager
Address of account used to manage the keys of this asset and to destroy it.
Declaration
[AlgoApiField("m")]
public Address Manager
Field Value
A commitment to some unspecified asset metadata. The format of this metadata is up to the application.
Declaration
[AlgoApiField("am")]
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
[AlgoApiField("an")]
public FixedString64Bytes Name
Field Value
Type |
Description |
FixedString64Bytes |
|
Reserve
Address of account holding reserve (non-minted) units of this asset.
Declaration
[AlgoApiField("r")]
public Address Reserve
Field Value
Total
The total number of units of this asset.
Declaration
[AlgoApiField("t")]
public ulong Total
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
[AlgoApiField("un")]
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
[AlgoApiField("au")]
public FixedString128Bytes Url
Field Value
Type |
Description |
FixedString128Bytes |
|
Methods
Equals(AssetParams)
Declaration
public bool Equals(AssetParams other)
Parameters
Returns