Search Results for

    Show / Hide Table of Contents

    Struct AssetParams

    Namespace: Algorand.Unity.Algod
    Assembly: cs.temp.dll.dll
    Syntax
    [AlgoApiObject("", "", 0)]
    [Serializable]
    public struct AssetParams : IEquatable<AssetParams>

    Properties

    Clawback

    [c] Address of account used to clawback holdings of this asset. If empty, clawback is not permitted.

    Declaration
    [AlgoApiField("clawback")]
    public string Clawback { get; set; }
    Property Value
    Type Description
    String

    Creator

    The address that created this asset. This is the address where the parameters for this asset can be found, and also the address where unwanted asset units can be sent in the worst case.

    Declaration
    [AlgoApiField("creator")]
    public string Creator { get; set; }
    Property Value
    Type Description
    String

    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
    [AlgoApiField("decimals")]
    public ulong Decimals { get; set; }
    Property Value
    Type Description
    UInt64

    DefaultFrozen

    [df] Whether holdings of this asset are frozen by default.

    Declaration
    [AlgoApiField("default-frozen")]
    public Optional<bool> DefaultFrozen { get; set; }
    Property Value
    Type Description
    Optional<Boolean>

    Freeze

    [f] Address of account used to freeze holdings of this asset. If empty, freezing is not permitted.

    Declaration
    [AlgoApiField("freeze")]
    public string Freeze { get; set; }
    Property Value
    Type Description
    String

    Manager

    [m] Address of account used to manage the keys of this asset and to destroy it.

    Declaration
    [AlgoApiField("manager")]
    public string Manager { get; set; }
    Property Value
    Type Description
    String

    MetadataHash

    [am] A commitment to some unspecified asset metadata. The format of this metadata is up to the application.

    Declaration
    [AlgoApiField("metadata-hash")]
    public byte[] MetadataHash { get; set; }
    Property Value
    Type Description
    Byte[]

    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
    [AlgoApiField("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    String

    NameB64

    Base64 encoded name of this asset, as supplied by the creator.

    Declaration
    [AlgoApiField("name-b64")]
    public byte[] NameB64 { get; set; }
    Property Value
    Type Description
    Byte[]

    Reserve

    [r] Address of account holding reserve (non-minted) units of this asset.

    Declaration
    [AlgoApiField("reserve")]
    public string Reserve { get; set; }
    Property Value
    Type Description
    String

    Total

    [t] The total number of units of this asset.

    Declaration
    [AlgoApiField("total")]
    public ulong Total { get; set; }
    Property Value
    Type Description
    UInt64

    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
    [AlgoApiField("unit-name")]
    public string UnitName { get; set; }
    Property Value
    Type Description
    String

    UnitNameB64

    Base64 encoded name of a unit of this asset, as supplied by the creator.

    Declaration
    [AlgoApiField("unit-name-b64")]
    public byte[] UnitNameB64 { get; set; }
    Property Value
    Type Description
    Byte[]

    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
    [AlgoApiField("url")]
    public string Url { get; set; }
    Property Value
    Type Description
    String

    UrlB64

    Base64 encoded URL where more information about the asset can be retrieved.

    Declaration
    [AlgoApiField("url-b64")]
    public byte[] UrlB64 { get; set; }
    Property Value
    Type Description
    Byte[]

    Methods

    Equals(AssetParams)

    Declaration
    public bool Equals(AssetParams other)
    Parameters
    Type Name Description
    AssetParams other
    Returns
    Type Description
    Boolean
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾