Interface IStatisticApi

  • All Known Implementing Classes:
    StatisticApiProvider

    public interface IStatisticApi
    EtherScan - API Descriptions https://etherscan.io/apis#stats
    Since:
    30.10.2018
    • Method Detail

      • supply

        @NotNull
        @NotNull java.math.BigInteger supply​(java.lang.String contract)
                                      throws ApiException
        ERC20 token total Supply
        Parameters:
        contract - contract address
        Returns:
        token supply for specified contract
        Throws:
        ApiException - parent exception class
      • supply

        @NotNull
        @NotNull Supply supply()
                        throws ApiException
        Eth total supply
        Returns:
        total ETH supply for moment
        Throws:
        ApiException - parent exception class
      • lastPrice

        @NotNull
        @NotNull Price lastPrice()
                          throws ApiException
        Eth last USD and BTC price
        Returns:
        last usd/btc price for ETH
        Throws:
        ApiException - parent exception class