openethereum/js-old/npm/etherscan
Tomasz Drwięga 0f8fb62581
Integrate old UI.
2017-10-17 16:09:43 +02:00
..
README.md Integrate old UI. 2017-10-17 16:09:43 +02:00
package.json Integrate old UI. 2017-10-17 16:09:43 +02:00

README.md

@parity/etherscan

A thin, lightweight promise wrapper for the api.etherscan.io/apis service, exposing a common endpoint for use in JavaScript applications.

https://github.com/paritytech/parity/tree/master/js/src/3rdparty/etherscan

usage

installation -

npm install --save @parity/etherscan

Usage -

const etherscan = require('@parity/etherscan');

// api calls goes here

api

account (exposed on etherscan.account) -

  • balance(address)
  • balances(addresses) (array or addresses)
  • transactions(address, page) (page offset starts at 0, returns 25)

stats (exposed on etherscan.stats) -

  • price()
  • supply()