Class AssetParams
AssetParams specifies the parameters for an asset.
[apar] when part of an AssetConfig transaction.
Definition:
data/transactions/asset.go : AssetParams
Inheritance
object
AssetParams
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Assembly: Algorand.dll
Syntax
Properties
|
Improve this Doc
View Source
Clawback
Declaration
[JsonProperty("c", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Address Clawback { get; set; }
Property Value
|
Improve this Doc
View Source
Creator
Declaration
[JsonIgnore]
public Address Creator { get; set; }
Property Value
|
Improve this Doc
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)]
public ulong Decimals { get; set; }
Property Value
|
Improve this Doc
View Source
DefaultFrozen
[df] Whether holdings of this asset are frozen by default.
Declaration
[JsonProperty("df", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public bool? DefaultFrozen { get; set; }
Property Value
|
Improve this Doc
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)]
public Address Freeze { get; set; }
Property Value
|
Improve this Doc
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)]
public Address Manager { get; set; }
Property Value
|
Improve this Doc
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)]
public byte[] MetadataHash { get; set; }
Property Value
|
Improve this Doc
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)]
public string Name { get; set; }
Property Value
|
Improve this Doc
View Source
NameB64
Declaration
[JsonIgnore]
public byte[] NameB64 { get; set; }
Property Value
|
Improve this Doc
View Source
Reserve
[r] Address of account holding reserve (non-minted) units of this asset.
Declaration
[JsonProperty("r", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Address Reserve { get; set; }
Property Value
|
Improve this Doc
View Source
Total
[t] The total number of units of this asset.
Declaration
[JsonProperty("t", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ulong? Total { get; set; }
Property Value
|
Improve this Doc
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)]
public string UnitName { get; set; }
Property Value
|
Improve this Doc
View Source
UnitNameB64
Base64 encoded name of a unit of this asset, as supplied by the creator.
Declaration
[JsonIgnore]
public byte[] UnitNameB64 { get; set; }
Property Value
|
Improve this Doc
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)]
public string Url { get; set; }
Property Value
|
Improve this Doc
View Source
UrlB64
Base64 encoded URL where more information about the asset can be retrieved.
Declaration
[JsonIgnore]
public byte[] UrlB64 { get; set; }
Property Value