github.com/algorand/go-algorand-sdk@v1.24.0/client/v2/common/models/transaction_keyreg.go (about)

     1  package models
     2  
     3  // TransactionKeyreg fields for a keyreg transaction.
     4  // Definition:
     5  // data/transactions/keyreg.go : KeyregTxnFields
     6  type TransactionKeyreg struct {
     7  	// NonParticipation (nonpart) Mark the account as participating or
     8  	// non-participating.
     9  	NonParticipation bool `json:"non-participation,omitempty"`
    10  
    11  	// SelectionParticipationKey (selkey) Public key used with the Verified Random
    12  	// Function (VRF) result during committee selection.
    13  	SelectionParticipationKey []byte `json:"selection-participation-key,omitempty"`
    14  
    15  	// StateProofKey (sprfkey) State proof key used in key registration transactions.
    16  	StateProofKey []byte `json:"state-proof-key,omitempty"`
    17  
    18  	// VoteFirstValid (votefst) First round this participation key is valid.
    19  	VoteFirstValid uint64 `json:"vote-first-valid,omitempty"`
    20  
    21  	// VoteKeyDilution (votekd) Number of subkeys in each batch of participation keys.
    22  	VoteKeyDilution uint64 `json:"vote-key-dilution,omitempty"`
    23  
    24  	// VoteLastValid (votelst) Last round this participation key is valid.
    25  	VoteLastValid uint64 `json:"vote-last-valid,omitempty"`
    26  
    27  	// VoteParticipationKey (votekey) Participation public key used in key registration
    28  	// transactions.
    29  	VoteParticipationKey []byte `json:"vote-participation-key,omitempty"`
    30  }