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
- Author:
- GoodforGod
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PricelastPrice()Eth last USD and BTC priceSupplysupply()Eth total supplyjava.math.BigIntegersupply(java.lang.String contract)ERC20 token total Supply
-
-
-
Method Detail
-
supply
@NotNull java.math.BigInteger supply(java.lang.String contract) throws ApiExceptionERC20 token total Supply- Parameters:
contract- to look for- Returns:
- token supply
- Throws:
ApiException
-
supply
@NotNull Supply supply() throws ApiException
Eth total supply- Returns:
- ETH supply
- Throws:
ApiException
-
lastPrice
@NotNull Price lastPrice() throws ApiException
Eth last USD and BTC price- Returns:
- last price
- Throws:
ApiException
-
-