Interface TokenBalance

  • All Implemented Interfaces:

    @DoNotImplement() 
    public interface TokenBalance
    
                        

    Defines a balance of a set of tokens returned by a call to queryBalance.

    The balance is defined by a pair of values. One of the values represents the available balance. While the other one represents the total balance, i.e., it is the available balance plus the tokens that have been claimed but which have not been spent yet.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract BigDecimal getAvailableBalance() Gets the available balance.
      abstract BigDecimal getTotalBalance() Gets the total balance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait