Package io.api.etherscan.core.impl
Class StatisticApiProvider
- java.lang.Object
-
- io.api.etherscan.core.impl.StatisticApiProvider
-
- All Implemented Interfaces:
IStatisticApi
public class StatisticApiProvider extends java.lang.Object implements IStatisticApi
Statistic API Implementation- Since:
- 28.10.2018
- Author:
- GoodforGod
- See Also:
IStatisticApi
-
-
Method Summary
All Methods Instance Methods Concrete 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 public Supply supply() throws ApiException
Description copied from interface:IStatisticApiEth total supply- Specified by:
supplyin interfaceIStatisticApi- Returns:
- ETH supply
- Throws:
ApiException
-
supply
@NotNull public java.math.BigInteger supply(java.lang.String contract) throws ApiExceptionDescription copied from interface:IStatisticApiERC20 token total Supply- Specified by:
supplyin interfaceIStatisticApi- Parameters:
contract- to look for- Returns:
- token supply
- Throws:
ApiException
-
lastPrice
@NotNull public Price lastPrice() throws ApiException
Description copied from interface:IStatisticApiEth last USD and BTC price- Specified by:
lastPricein interfaceIStatisticApi- Returns:
- last price
- Throws:
ApiException
-
-