1.0.2 ā€¢ Published 3 months ago

ethplorer-api-node v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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!