Class StatisticApiProvider

  • All Implemented Interfaces:
    IStatisticApi

    public class StatisticApiProvider
    extends java.lang.Object
    implements IStatisticApi
    Statistic API Implementation
    Since:
    28.10.2018
    See Also:
    IStatisticApi
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull Price lastPrice()
      Eth last USD and BTC price
      @NotNull Supply supply()
      Eth total supply
      @NotNull java.math.BigInteger supply​(java.lang.String contract)
      ERC20 token total Supply
      • Methods inherited from class java.lang.Object

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

      • supply

        @NotNull
        public @NotNull java.math.BigInteger supply​(java.lang.String contract)
                                             throws ApiException
        Description copied from interface: IStatisticApi
        ERC20 token total Supply
        Specified by:
        supply in interface IStatisticApi
        Parameters:
        contract - contract address
        Returns:
        token supply for specified contract
        Throws:
        ApiException - parent exception class