Class AssetParams
AssetParams specifies the parameters for an asset.
[apar] when part of an AssetConfig transaction.
Definition:
data/transactions/asset.go : AssetParams
Assembly: Algorand.dll
Syntax
[MessagePackObject(false)]
public class AssetParams
Properties
|
Edit this page
View Source
Clawback
Declaration
[JsonProperty("c", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("c")]
public Address Clawback { get; set; }
Property Value
|
Edit this page
View Source
Creator
Declaration
[JsonIgnore]
[IgnoreMember]
public Address Creator { get; set; }
Property Value
|
Edit this page
View Source
Decimals
[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).
Declaration
[JsonProperty("dc", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Range(0, 19)]
[Key("dc")]
public ulong Decimals { get; set; }
Property Value
|
Edit this page
View Source
DefaultFrozen
[df] Whether holdings of this asset are frozen by default.
Declaration
[JsonProperty("df", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("df")]
public bool? DefaultFrozen { get; set; }
Property Value
|
Edit this page
View Source
Freeze
[f] Address of account used to freeze holdings of this asset. If empty, freezing is not permitted.
Declaration
[JsonProperty("f", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("f")]
public Address Freeze { get; set; }
Property Value
|
Edit this page
View Source
Manager
[m] Address of account used to manage the keys of this asset and to destroy it.
Declaration
[JsonProperty("m", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("m")]
public Address Manager { get; set; }
Property Value
|
Edit this page
View Source
[am] A commitment to some unspecified asset metadata. The format of this metadata is up to the application.
Declaration
[JsonProperty("am", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("am")]
public byte[] MetadataHash { get; set; }
Property Value
|
Edit this page
View Source
Name
[an] Name of this asset, as supplied by the creator. Included only when the asset name is composed of printable utf-8 characters.
Declaration
[JsonProperty("an", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("an")]
public string Name { get; set; }
Property Value
|
Edit this page
View Source
NameB64
Declaration
[JsonIgnore]
[IgnoreMember]
public byte[] NameB64 { get; set; }
Property Value
|
Edit this page
View Source
Reserve
[r] Address of account holding reserve (non-minted) units of this asset.
Declaration
[JsonProperty("r", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("r")]
public Address Reserve { get; set; }
Property Value
|
Edit this page
View Source
Total
[t] The total number of units of this asset.
Declaration
[JsonProperty("t", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("t")]
public ulong? Total { get; set; }
Property Value
|
Edit this page
View Source
UnitName
[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.
Declaration
[JsonProperty("un", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("un")]
public string UnitName { get; set; }
Property Value
|
Edit this page
View Source
UnitNameB64
Base64 encoded name of a unit of this asset, as supplied by the creator.
Declaration
[JsonIgnore]
[IgnoreMember]
public byte[] UnitNameB64 { get; set; }
Property Value
|
Edit this page
View Source
Url
[au] URL where more information about the asset can be retrieved. Included only when the URL is composed of printable utf-8 characters.
Declaration
[JsonProperty("au", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("au")]
public string Url { get; set; }
Property Value
|
Edit this page
View Source
UrlB64
Base64 encoded URL where more information about the asset can be retrieved.
Declaration
[JsonIgnore]
[IgnoreMember]
public byte[] UrlB64 { get; set; }
Property Value