0.5.1 • Published 2 years ago

etherscan.js v0.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Etherscan.js

Etherscan.js is a JavaScript library for interacting with the Etherscan API.

Requirements

This library uses Axios for making HTTP requests. This means it is able to run in the browser and in Node.js.
When running in the browser, be aware, that API keys are exposed to the client.

Example

// Loads the library
import { API as Etherscan } from 'etherscan.js';

// Creates an instance of the API class with your key and network
const es = new Etherscan({
    key: {
        key: "YOUR_KEY_HERE",
        plan: "free"
        limit: 5
    },
    network: "mainnet"
});

// Retrieves account balance for an address using promises
console.log(await es.fetcher.getAccountBalance("0x2A20380DcA5bC24D052acfbf79ba23e988ad0050"))
0.5.1

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago