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.
npm i ethplorer-api-node
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);
})
Contributions are welcome! Feel free to fork the repository and submit pull requests as well.
This project is licensed under the MIT license.
Feel free to reach out to me for any project-related queries or collaborations. I'm always happy to connect and discuss ideas!