Class Withdraw


  • public class Withdraw
    extends java.lang.Object
    A withdraw.
    Since:
    0.0.1
    • Constructor Summary

      Constructors 
      Constructor Description
      Withdraw()  
      Withdraw​(java.lang.String amount, URef bondingPurse, int eraOfCreation, java.lang.String unbonderPublicKey, java.lang.String validatorPublicKey)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Withdraw.WithdrawBuilder builder()  
      java.lang.String getAmount()
      amount(String) - Decimal representation of a 512-bit integer.
      URef getBondingPurse()
      bonding_purse(String) - Hex-encoded, formatted URef.
      int getEraOfCreation()
      amount(Integer) - Era ID newtype.
      java.lang.String getUnbonderPublicKey()
      unbonder_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.
      java.lang.String getValidatorPublicKey()
      validator_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.
      void setAmount​(java.lang.String amount)
      amount(String) - Decimal representation of a 512-bit integer.
      void setBondingPurse​(URef bondingPurse)
      bonding_purse(String) - Hex-encoded, formatted URef.
      void setEraOfCreation​(int eraOfCreation)
      amount(Integer) - Era ID newtype.
      void setUnbonderPublicKey​(java.lang.String unbonderPublicKey)
      unbonder_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.
      void setValidatorPublicKey​(java.lang.String validatorPublicKey)
      validator_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Withdraw

        public Withdraw​(java.lang.String amount,
                        URef bondingPurse,
                        int eraOfCreation,
                        java.lang.String unbonderPublicKey,
                        java.lang.String validatorPublicKey)
      • Withdraw

        public Withdraw()
    • Method Detail

      • getAmount

        public java.lang.String getAmount()
        amount(String) - Decimal representation of a 512-bit integer.
      • getBondingPurse

        public URef getBondingPurse()
        bonding_purse(String) - Hex-encoded, formatted URef.
      • getEraOfCreation

        public int getEraOfCreation()
        amount(Integer) - Era ID newtype.
      • getUnbonderPublicKey

        public java.lang.String getUnbonderPublicKey()
        unbonder_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.
      • getValidatorPublicKey

        public java.lang.String getValidatorPublicKey()
        validator_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.
      • setAmount

        public void setAmount​(java.lang.String amount)
        amount(String) - Decimal representation of a 512-bit integer.
      • setBondingPurse

        public void setBondingPurse​(URef bondingPurse)
        bonding_purse(String) - Hex-encoded, formatted URef.
      • setEraOfCreation

        public void setEraOfCreation​(int eraOfCreation)
        amount(Integer) - Era ID newtype.
      • setUnbonderPublicKey

        public void setUnbonderPublicKey​(java.lang.String unbonderPublicKey)
        unbonder_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.
      • setValidatorPublicKey

        public void setValidatorPublicKey​(java.lang.String validatorPublicKey)
        validator_public_key(String) - Hex-encoded cryptographic public key, including the algorithm tag prefix.