Show / Hide Table of Contents

    Class TransactionParametersResponse

    TransactionParams contains the parameters that help a client construct a new transaction.

    Inheritance
    System.Object
    TransactionParametersResponse
    Implements
    System.IEquatable<TransactionParametersResponse>
    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.V2.Model
    Assembly: Algorand.dll
    Syntax
    [DataContract]
    public class TransactionParametersResponse : IEquatable<TransactionParametersResponse>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    TransactionParametersResponse()

    Initializes a new instance of the TransactionParametersResponse class.

    Declaration
    [JsonConstructor]
    protected TransactionParametersResponse()
    | Improve this Doc View Source

    TransactionParametersResponse(String, Nullable<Int64>, Byte[], String, Nullable<Int64>, Nullable<Int64>)

    Initializes a new instance of the TransactionParametersResponse class.

    Declaration
    public TransactionParametersResponse(string consensusVersion = null, long? fee = default(long? ), byte[] genesisHash = null, string genesisId = null, long? lastRound = default(long? ), long? minFee = default(long? ))
    Parameters
    Type Name Description
    System.String consensusVersion

    ConsensusVersion indicates the consensus protocol version as of LastRound. (required).

    System.Nullable<System.Int64> fee

    Fee is the suggested transaction fee Fee is in units of micro-Algos per byte. Fee may fall to zero but transactions must still have a fee of at least MinTxnFee for the current network protocol. (required).

    System.Byte[] genesisHash

    GenesisHash is the hash of the genesis block. (required).

    System.String genesisId

    GenesisID is an ID listed in the genesis block. (required).

    System.Nullable<System.Int64> lastRound

    LastRound indicates the last round seen (required).

    System.Nullable<System.Int64> minFee

    The minimum transaction fee (not per byte) required for the txn to validate for the current network protocol. (required).

    Properties

    | Improve this Doc View Source

    ConsensusVersion

    ConsensusVersion indicates the consensus protocol version as of LastRound.

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

    ConsensusVersion indicates the consensus protocol version as of LastRound.

    | Improve this Doc View Source

    Fee

    Fee is the suggested transaction fee Fee is in units of micro-Algos per byte. Fee may fall to zero but transactions must still have a fee of at least MinTxnFee for the current network protocol.

    Declaration
    [DataMember(Name = "fee", EmitDefaultValue = false)]
    public long? Fee { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    Fee is the suggested transaction fee Fee is in units of micro-Algos per byte. Fee may fall to zero but transactions must still have a fee of at least MinTxnFee for the current network protocol.

    | Improve this Doc View Source

    GenesisHash

    GenesisHash is the hash of the genesis block.

    Declaration
    [DataMember(Name = "genesis-hash", EmitDefaultValue = false)]
    public byte[] GenesisHash { get; set; }
    Property Value
    Type Description
    System.Byte[]

    GenesisHash is the hash of the genesis block.

    | Improve this Doc View Source

    GenesisId

    GenesisID is an ID listed in the genesis block.

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

    GenesisID is an ID listed in the genesis block.

    | Improve this Doc View Source

    LastRound

    LastRound indicates the last round seen

    Declaration
    [DataMember(Name = "last-round", EmitDefaultValue = false)]
    public long? LastRound { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    LastRound indicates the last round seen

    | Improve this Doc View Source

    MinFee

    The minimum transaction fee (not per byte) required for the txn to validate for the current network protocol.

    Declaration
    [DataMember(Name = "min-fee", EmitDefaultValue = false)]
    public long? MinFee { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    The minimum transaction fee (not per byte) required for the txn to validate for the current network protocol.

    Methods

    | Improve this Doc View Source

    Equals(TransactionParametersResponse)

    Returns true if TransactionParametersResponse instances are equal

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

    Instance of TransactionParametersResponse 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