Socket
Book a DemoInstallSign in
Socket

ethplorer-api-node

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethplorer-api-node

A versatile Node.js library for Ethplorer's API with multi-key support and promise-based operations.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

ethplorer-api-node

Total Hits Downloads Version License

ethplorer-api-node is a powerful nodejs module for Ethplorer.io API. This feature-rich library not only provides multi-key support to effortlessly bypass rate limits but also offers blazing-fast performance, two key usage modes (sequential and random), and extensive promise support for smooth integration into your NodeJs projects.

🌟 Key Features:

  • 🔄 Multi-Key Support: Seamlessly rotate API keys to bypass rate limits.
  • ⚡️ High Performance: Enjoy super-fast access to ethereum blockchain data.
  • 🎯 Two Key Usage Modes: Choose between sequential and random key usage.
  • ✨ Promise Support: Simplify asynchronous operations with built-in promises.

📦 Install

npm i ethplorer-api-node

Usage

For more sample please check test.js

const EthplorerApi = require('ethplorer-api-node');

// Create an instance of EthplorerApi with your API keys
const apiKeys = ['your-api-key-1', 'your-api-key-2'];
const ethplorer = new EthplorerApi(apiKeys, true); // Use 'true' for random key mode or 'false' for sequential key mode

// Example: Get information about the last block
ethplorer.getLastBlock().then((lastBlock) => {

    console.log('Last Block Information:');
    console.log(lastBlock);
})

Contributing

Contributions are welcome! Feel free to fork the repository and submit pull requests as well.

License

This project is licensed under the MIT license.

Connect with Me

Feel free to reach out to me for any project-related queries or collaborations. I'm always happy to connect and discuss ideas!

Telegram WhatsApp

Keywords

etherscan

FAQs

Package last updated on 27 Jan 2024

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