Class Transaction.AssetParams
Inheritance
System.Object
Transaction.AssetParams
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Algorand.dll
Syntax
Constructors
|
Improve this Doc
View Source
AssetParams()
Declaration
|
Improve this Doc
View Source
AssetParams(Nullable<UInt64>, Int32, Boolean, String, String, String, Byte[], Address, Address, Address, Address)
Declaration
public AssetParams(ulong? assetTotal, int assetDecimals, bool defaultFrozen, string assetUnitName, string assetName, string url, byte[] metadataHash, Address manager, Address reserve, Address freeze, Address clawback)
Parameters
Type |
Name |
Description |
System.Nullable<System.UInt64> |
assetTotal |
|
System.Int32 |
assetDecimals |
|
System.Boolean |
defaultFrozen |
|
System.String |
assetUnitName |
|
System.String |
assetName |
|
System.String |
url |
|
System.Byte[] |
metadataHash |
|
Address |
manager |
|
Address |
reserve |
|
Address |
freeze |
|
Address |
clawback |
|
Fields
|
Improve this Doc
View Source
assetClawback
the address which has the ability to issue clawbacks against asset-holding accounts
Declaration
[JsonProperty(PropertyName = "c")]
public Address assetClawback
Field Value
|
Improve this Doc
View Source
assetDecimals
Decimals specifies the number of digits to display after the decimal
place when displaying this asset. A value of 0 represents an asset
that is not divisible, a value of 1 represents an asset divisible
into tenths, and so on. This value must be between 0 and 19(inclusive).
Declaration
[JsonProperty(PropertyName = "dc")]
public int assetDecimals
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
assetDefaultFrozen
whether each account has their asset slot frozen for this asset by default
Declaration
[JsonProperty(PropertyName = "df")]
public bool assetDefaultFrozen
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
assetFreeze
the address which has the ability to freeze/unfreeze accounts holding this asset
Declaration
[JsonProperty(PropertyName = "f")]
public Address assetFreeze
Field Value
|
Improve this Doc
View Source
assetManager
the address which has the ability to reconfigure the asset
Declaration
[JsonProperty(PropertyName = "m")]
public Address assetManager
Field Value
|
Improve this Doc
View Source
assetName
Declaration
[JsonProperty(PropertyName = "an")]
public string assetName
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
assetReserve
the asset reserve: assets owned by this address do not count against circulation
Declaration
[JsonProperty(PropertyName = "r")]
public Address assetReserve
Field Value
|
Improve this Doc
View Source
assetTotal
Declaration
[JsonProperty(PropertyName = "t")]
public ulong? assetTotal
Field Value
Type |
Description |
System.Nullable<System.UInt64> |
|
|
Improve this Doc
View Source
assetUnitName
a hint to the unit name of the asset
Declaration
[JsonProperty(PropertyName = "un")]
public string assetUnitName
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
MetadataHash specifies a commitment to some unspecified asset
metadata. The format of this metadata is up to the application.
Declaration
[JsonProperty(PropertyName = "am")]
public byte[] metadataHash
Field Value
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
url
URL where more information about the asset can be retrieved
Declaration
[JsonProperty(PropertyName = "au")]
public string url
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()