Show / Hide Table of Contents

    Class AssetTransferTransactionType

    AssetTransferTransactionType contains the additional fields for an asset transfer transaction

    Inheritance
    System.Object
    AssetTransferTransactionType
    Implements
    System.IEquatable<AssetTransferTransactionType>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Algorand.Algod.Model
    Assembly: Algorand.dll
    Syntax
    [DataContract]
    public class AssetTransferTransactionType : IEquatable<AssetTransferTransactionType>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    AssetTransferTransactionType(Nullable<UInt64>, String, Nullable<UInt64>, String, String)

    Initializes a new instance of the AssetTransferTransactionType class.

    Declaration
    public AssetTransferTransactionType(ulong? amt = default(ulong? ), string closeto = null, ulong? id = default(ulong? ), string rcv = null, string snd = null)
    Parameters
    Type Name Description
    System.Nullable<System.UInt64> amt

    Amount is the amount being transferred. (required).

    System.String closeto

    CloseTo is the destination for remaining funds (if closing)..

    System.Nullable<System.UInt64> id

    AssetID is the asset being configured (or empty if creating) (required).

    System.String rcv

    Receiver is the recipient account. (required).

    System.String snd

    Sender is the source account (if using clawback)..

    Properties

    | Improve this Doc View Source

    Amt

    Amount is the amount being transferred.

    Declaration
    [DataMember(Name = "amt", EmitDefaultValue = false)]
    public ulong? Amt { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>

    Amount is the amount being transferred.

    | Improve this Doc View Source

    Closeto

    CloseTo is the destination for remaining funds (if closing).

    Declaration
    [DataMember(Name = "closeto", EmitDefaultValue = false)]
    public string Closeto { get; set; }
    Property Value
    Type Description
    System.String

    CloseTo is the destination for remaining funds (if closing).

    | Improve this Doc View Source

    Id

    AssetID is the asset being configured (or empty if creating)

    Declaration
    [DataMember(Name = "id", EmitDefaultValue = false)]
    public ulong? Id { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>

    AssetID is the asset being configured (or empty if creating)

    | Improve this Doc View Source

    Rcv

    Receiver is the recipient account.

    Declaration
    [DataMember(Name = "rcv", EmitDefaultValue = false)]
    public string Rcv { get; set; }
    Property Value
    Type Description
    System.String

    Receiver is the recipient account.

    | Improve this Doc View Source

    Snd

    Sender is the source account (if using clawback).

    Declaration
    [DataMember(Name = "snd", EmitDefaultValue = false)]
    public string Snd { get; set; }
    Property Value
    Type Description
    System.String

    Sender is the source account (if using clawback).

    Methods

    | Improve this Doc View Source

    Equals(AssetTransferTransactionType)

    Returns true if AssetTransferTransactionType instances are equal

    Declaration
    public bool Equals(AssetTransferTransactionType input)
    Parameters
    Type Name Description
    AssetTransferTransactionType input

    Instance of AssetTransferTransactionType to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    | Improve this Doc View Source

    Equals(Object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    System.Object input

    Object to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code

    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    System.String

    JSON string presentation of the object

    | Improve this Doc View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String presentation of the object

    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IValidatableObject.Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    System.ComponentModel.DataAnnotations.ValidationContext validationContext

    Validation context

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX