openethereum/js/packages/etherscan
Jaco Greeff a1b8fabd99 Ui 2 packages (#6169)
* Ensure all internal dapps have package.json

* Update compilation rules

# Conflicts:
#	js/src/redux/providers/balancesActions.js
#	js/src/ui/Form/TypedInput/typedInput.js

* Remove SignerIcon

* Cleanup providers

* Enable request of new token from app

* Queue when no token (yet)

* Add location & token request

* Cleanup send logic

* Request token

* Request comms token

* Remove yarn.lock (not updated)

* Update version to 1.99.99 (publish prepare)

* Move jsonrpc to seperate repo

* Update jsonrpc references

* Update repo info

* Update repo info

* Additional debugging

* Update repo references

* Move ABI to js-abi repo

* Move webWorker to shared

* Fix package reference

* Worker location

* Move js-ui & js-shared components

* Update file references

* Update package repo locations

* Remove debugging info

* Cleanup debug

* Split api into own repo

* Update api local references

* Update app loading

* Update dependencies

* Allow serving of /parity-utils

* Error when EthereumProvider has not been attached

* Use inject.js

* Correct appId retrieval
2017-07-28 10:25:34 +02:00
..
account.js Ui 2 move to packages/* (#6113) 2017-07-21 15:46:53 +02:00
account.spec.js Ui 2 move to packages/* (#6113) 2017-07-21 15:46:53 +02:00
call.js Ui 2 move to packages/* (#6113) 2017-07-21 15:46:53 +02:00
helpers.spec.js Ui 2 move to packages/* (#6113) 2017-07-21 15:46:53 +02:00
index.js Ui 2 move to packages/* (#6113) 2017-07-21 15:46:53 +02:00
library.js Ui 2 move to packages/* (#6113) 2017-07-21 15:46:53 +02:00
links.js Ui 2 move to packages/* (#6113) 2017-07-21 15:46:53 +02:00
links.spec.js Ui 2 move to packages/* (#6113) 2017-07-21 15:46:53 +02:00
package.json Ui 2 packages (#6169) 2017-07-28 10:25:34 +02:00
README.md Ui 2 move to packages/* (#6113) 2017-07-21 15:46:53 +02:00
stats.js Ui 2 move to packages/* (#6113) 2017-07-21 15:46:53 +02:00
stats.spec.js Ui 2 move to packages/* (#6113) 2017-07-21 15:46:53 +02:00

@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/packages/3rdpartyetherscan

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()