Package io.goodforgod.api.etherscan
Interface StatisticAPI
- All Known Implementing Classes:
StatisticAPIProvider
public interface StatisticAPI
EtherScan - API Descriptions ...
- Since:
- 30.10.2018
-
Method Summary
Modifier and TypeMethodDescription@NotNull PriceEth last USD and BTC price@NotNull Weisupply()Returns the current amount of Ether in circulation excluding ETH2 Staking rewards and EIP1559 burnt fees.@NotNull WeiERC20 token total Supply EtherScan Returns the current amount of an ERC-20 token in circulation.@NotNull EthSupplyReturns the current amount of Ether in circulation, ETH2 Staking rewards, EIP1559 burnt fees, and total withdrawn ETH from the beacon chain.
-
Method Details
-
supply
ERC20 token total Supply EtherScan Returns the current amount of an ERC-20 token in circulation.- Parameters:
contract- contract address- Returns:
- token supply for specified contract
- Throws:
EtherScanException- parent exception class
-
supply
Returns the current amount of Ether in circulation excluding ETH2 Staking rewards and EIP1559 burnt fees.- Returns:
- total ETH supply for moment
- Throws:
EtherScanException- parent exception class
-
supplyTotal
Returns the current amount of Ether in circulation, ETH2 Staking rewards, EIP1559 burnt fees, and total withdrawn ETH from the beacon chain.- Returns:
- total ETH supply for moment
- Throws:
EtherScanException- parent exception class
-
priceLast
Eth last USD and BTC price- Returns:
- last usd/btc price for ETH
- Throws:
EtherScanException- parent exception class
-