Class AccountParticipation

java.lang.Object
com.algorand.algosdk.v2.client.common.PathResponse
com.algorand.algosdk.v2.client.model.AccountParticipation

public class AccountParticipation
extends PathResponse
AccountParticipation describes the parameters used by this account in consensus protocol.
  • Field Summary

    Fields
    Modifier and Type Field Description
    byte[] selectionParticipationKey  
    byte[] stateProofKey  
    java.lang.Long voteFirstValid
    (voteFst) First round for which this participation is valid.
    java.lang.Long voteKeyDilution
    (voteKD) Number of subkeys in each batch of participation keys.
    java.lang.Long voteLastValid
    (voteLst) Last round for which this participation is valid.
    byte[] voteParticipationKey  
  • Constructor Summary

    Constructors
    Constructor Description
    AccountParticipation()  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    java.lang.String selectionParticipationKey()  
    void selectionParticipationKey​(java.lang.String base64Encoded)
    (sel) Selection public key (if any) currently registered for this round.
    java.lang.String stateProofKey()  
    void stateProofKey​(java.lang.String base64Encoded)
    (stprf) Root of the state proof key (if any)
    java.lang.String voteParticipationKey()  
    void voteParticipationKey​(java.lang.String base64Encoded)
    (vote) root participation public key (if any) currently registered for this round.

    Methods inherited from class com.algorand.algosdk.v2.client.common.PathResponse

    toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • selectionParticipationKey

      public byte[] selectionParticipationKey
    • stateProofKey

      public byte[] stateProofKey
    • voteFirstValid

      public java.lang.Long voteFirstValid
      (voteFst) First round for which this participation is valid.
    • voteKeyDilution

      public java.lang.Long voteKeyDilution
      (voteKD) Number of subkeys in each batch of participation keys.
    • voteLastValid

      public java.lang.Long voteLastValid
      (voteLst) Last round for which this participation is valid.
    • voteParticipationKey

      public byte[] voteParticipationKey
  • Constructor Details

    • AccountParticipation

      public AccountParticipation()
  • Method Details

    • selectionParticipationKey

      public void selectionParticipationKey​(java.lang.String base64Encoded)
      (sel) Selection public key (if any) currently registered for this round.
    • selectionParticipationKey

      public java.lang.String selectionParticipationKey()
    • stateProofKey

      public void stateProofKey​(java.lang.String base64Encoded)
      (stprf) Root of the state proof key (if any)
    • stateProofKey

      public java.lang.String stateProofKey()
    • voteParticipationKey

      public void voteParticipationKey​(java.lang.String base64Encoded)
      (vote) root participation public key (if any) currently registered for this round.
    • voteParticipationKey

      public java.lang.String voteParticipationKey()
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object