Package io.api.etherscan.core
Interface IStatisticApi
-
- All Known Implementing Classes:
StatisticApiProvider
public interface IStatisticApiEtherScan - API Descriptions https://etherscan.io/apis#stats- Since:
- 30.10.2018
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull PricelastPrice()Eth last USD and BTC price@NotNull Supplysupply()Eth total supply@NotNull java.math.BigIntegersupply(java.lang.String contract)ERC20 token total Supply
-
-
-
Method Detail
-
supply
@NotNull @NotNull java.math.BigInteger supply(java.lang.String contract) throws ApiExceptionERC20 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
-
-