ethplorer-api-node
v1.0.2
Published
A versatile Node.js library for Ethplorer's API with multi-key support and promise-based operations.
Downloads
5
Maintainers
Readme
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!