Wondering what’s next for npm?Check out our public roadmap! »

    @parity/etherscan

    2.1.3 • Public • Published

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

    Install

    npm i @parity/etherscan

    DownloadsWeekly Downloads

    81

    Version

    2.1.3

    License

    GPL-3.0

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar