@timophey01/eth-bulk-monitor-client-nodejs

0.0.27 • Public • Published

NodeJS client for the Bulk API Monitor

Fast tracking an unlimited number of ERC20 tokens and Ethereum addresses, even millions.

https://docs.ethplorer.io/monitor

Quickstart

In this quickstart, you'll learn how to monitor your Ethereum addresses with Ethplorer Bulk API and and Node.js.

First of all, let's include MonitorApp class:

const { MonitorApp } = require('eth-bulk-monitor-client-nodejs');

Then instantiate the class with your API key.

const monitorApp = new MonitorApp('put your API key here');

Finally, lets define the addresses we would like to monitor and a callback function:

monitorApp.watch([
    '0x0000000000000000000000000000000000000001',
    '0x0000000000000000000000000000000000000002',
    '0x0000000000000000000000000000000000000003'
],
(data) => {
    console.log(data);
});

Voila, now we can get and process all the new transactions and ERC-20 operations for the specified addresses using just a single npm library and Node.js.

Class reference

You can find the complete class reference here.

Readme

Keywords

none

Package Sidebar

Install

npm i @timophey01/eth-bulk-monitor-client-nodejs

Weekly Downloads

1

Version

0.0.27

License

ISC

Unpacked Size

65.5 kB

Total Files

17

Last publish

Collaborators

  • timophey01