You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@parity/etherscan

Package Overview
Dependencies
Maintainers
3
Versions
350
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parity/etherscan

The Parity Promise-based library for interfacing with Etherscan over HTTP

2.1.3
latest
Source
npmnpm
Version published
Weekly downloads
255
372.22%
Maintainers
3
Weekly downloads
 
Created
Source

@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/js-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()

Keywords

Ethereum

FAQs

Package last updated on 06 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts