
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Node.js library for communicating with the Etherscan API.
$ npm i request
$ npm i etherscan
request
is defined as a peer-dependency and thus has to be installed separately.
$ npm test
Requirements (Node.js >= 8.0.0).
const Etherscan = require('etherscan');
Use --experimental-modules flag and .mjs extension (Node.js >= 8.6.0).
import Etherscan from 'etherscan';
import Etherscan from 'etherscan';
const etherscan = new Etherscan(API_KEY); // Some methods working without API_KEY
(async () => {
const data = await etherscan.getEtherBalance({
address: '0x00'
});
})();
Get Ether balance for a single address.
etherscan.getEtherBalance({
address: '0x00',
tag: 'latest' // Optional, default 'latest'
});
Get Ether balance for multiple addresses in a single call.
etherscan.getEtherBalanceMulti({
address: ['0x00', '0x01'],
tag: 'latest' // Optional, default 'latest'
});
Get a list of normal
transactions by address.
etherscan.getTxList({
address: '0x00',
startblock: 0, // Optional
endblock: 0, // Optional
sort: 'desc' // Optional, default 'asc'
});
Get a list of internal
transactions by address.
etherscan.getTxListInternal({
address: '0x00',
startblock: 0, // Optional
endblock: 0, // Optional
sort: 'desc' // Optional, default 'asc'
});
FAQs
Node.js library for communicating with the Etherscan API.
The npm package etherscan receives a total of 184 weekly downloads. As such, etherscan popularity was classified as not popular.
We found that etherscan demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.