Show / Hide Table of Contents

    Class TransactionKeyreg

    Fields for a keyreg transaction. Definition: data/transactions/keyreg.go : KeyregTxnFields

    Inheritance
    System.Object
    TransactionKeyreg
    Implements
    System.IEquatable<TransactionKeyreg>
    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 TransactionKeyreg : IEquatable<TransactionKeyreg>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    TransactionKeyreg(Nullable<Boolean>, Byte[], Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Byte[])

    Initializes a new instance of the TransactionKeyreg class.

    Declaration
    public TransactionKeyreg(bool? nonParticipation = default(bool? ), byte[] selectionParticipationKey = null, long? voteFirstValid = default(long? ), long? voteKeyDilution = default(long? ), long? voteLastValid = default(long? ), byte[] voteParticipationKey = null)
    Parameters
    Type Name Description
    System.Nullable<System.Boolean> nonParticipation

    \[nonpart\] Mark the account as participating or non-participating..

    System.Byte[] selectionParticipationKey

    \[selkey\] Public key used with the Verified Random Function (VRF) result during committee selection..

    System.Nullable<System.Int64> voteFirstValid

    \[votefst\] First round this participation key is valid..

    System.Nullable<System.Int64> voteKeyDilution

    \[votekd\] Number of subkeys in each batch of participation keys..

    System.Nullable<System.Int64> voteLastValid

    \[votelst\] Last round this participation key is valid..

    System.Byte[] voteParticipationKey

    \[votekey\] Participation public key used in key registration transactions..

    Properties

    | Improve this Doc View Source

    NonParticipation

    \[nonpart\] Mark the account as participating or non-participating.

    Declaration
    [DataMember(Name = "non-participation", EmitDefaultValue = false)]
    public bool? NonParticipation { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    \[nonpart\] Mark the account as participating or non-participating.

    | Improve this Doc View Source

    SelectionParticipationKey

    \[selkey\] Public key used with the Verified Random Function (VRF) result during committee selection.

    Declaration
    [DataMember(Name = "selection-participation-key", EmitDefaultValue = false)]
    public byte[] SelectionParticipationKey { get; set; }
    Property Value
    Type Description
    System.Byte[]

    \[selkey\] Public key used with the Verified Random Function (VRF) result during committee selection.

    | Improve this Doc View Source

    VoteFirstValid

    \[votefst\] First round this participation key is valid.

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

    \[votefst\] First round this participation key is valid.

    | Improve this Doc View Source

    VoteKeyDilution

    \[votekd\] Number of subkeys in each batch of participation keys.

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

    \[votekd\] Number of subkeys in each batch of participation keys.

    | Improve this Doc View Source

    VoteLastValid

    \[votelst\] Last round this participation key is valid.

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

    \[votelst\] Last round this participation key is valid.

    | Improve this Doc View Source

    VoteParticipationKey

    \[votekey\] Participation public key used in key registration transactions.

    Declaration
    [DataMember(Name = "vote-participation-key", EmitDefaultValue = false)]
    public byte[] VoteParticipationKey { get; set; }
    Property Value
    Type Description
    System.Byte[]

    \[votekey\] Participation public key used in key registration transactions.

    Methods

    | Improve this Doc View Source

    Equals(TransactionKeyreg)

    Returns true if TransactionKeyreg instances are equal

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

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