Interface IStatisticApi

All Known Implementing Classes:
StatisticApiProvider

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

    Modifier and Type
    Method
    Description
    @NotNull Price
    Eth last USD and BTC price
    @NotNull Supply
    Eth total supply
    @NotNull BigInteger
    supply(String contract)
    ERC20 token total Supply
  • Method Details

    • supply

      @NotNull @NotNull BigInteger supply(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