๐Ÿš€ Socket Launch Week ๐Ÿš€ Day 5: Introducing Socket Fix.Learn More โ†’
Socket
Sign inDemoInstall
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
npm
Version published
Weekly downloads
167
-68.37%
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