イーサー坊:一般状態データ(General Stats)


通常状態データAPI,インタフェースのパラメータ説明は,Etherscan API約定を参照してください.

イーサ総供給量の取得

https://api.etherscan.io/api?module=stats&action=ethsupply&apikey=YourApiKeyToken

(Result returned in Wei, to get value in Ether divide resultAbove/1000000000000000000)

イーサの最新価格の取得

https://api.etherscan.io/api?module=stats&action=ethprice&apikey=YourApiKeyToken

ノードサイズの取得(Size)


[Parameters] startdate and enddate format ‘yyyy-MM-dd’, clienttype value is ‘geth’ or ‘parity’, syncmode value is ‘default’ or ‘archive’
https://api.etherscan.io/api?module=stats&action=chainsize&startdate=2019-02-01&enddate=2019-02-28&clienttype=geth&syncmode=default&sort=asc&apikey=YourApiKeyToken

戻り値chainsizeの単位はbytesです