Class JsonBid.JsonBidBuilder

  • Enclosing class:
    JsonBid

    public static class JsonBid.JsonBidBuilder
    extends java.lang.Object
    • Method Detail

      • bondingPurse

        public JsonBid.JsonBidBuilder bondingPurse​(URef bondingPurse)
        The purse that was used for bonding.
        Returns:
        this.
      • delegationRate

        public JsonBid.JsonBidBuilder delegationRate​(int delegationRate)
        Delegation rate
        Returns:
        this.
      • inactive

        public JsonBid.JsonBidBuilder inactive​(boolean inactive)
        Is this an inactive validator?
        Returns:
        this.
      • stakedAmount

        public JsonBid.JsonBidBuilder stakedAmount​(java.math.BigInteger stakedAmount)
        The amount of tokens staked by a validator (not including delegators).
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object