https://github.com/numairawan/ethplorer-api-php
🚀 Ethplorer API PHP Library: Multiple keys, no dependencies, blazing fast! Get data from Ethplorer.io with ease.
https://github.com/numairawan/ethplorer-api-php
blockchain blockchain-api ethereum ethereum-api etherscan etherscan-api etherscan-client etherscan-io etherscan-solidity ethplorer
Last synced: 2 months ago
JSON representation
🚀 Ethplorer API PHP Library: Multiple keys, no dependencies, blazing fast! Get data from Ethplorer.io with ease.
- Host: GitHub
- URL: https://github.com/numairawan/ethplorer-api-php
- Owner: numairawan
- License: mit
- Created: 2023-09-29T20:58:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-29T21:49:34.000Z (over 2 years ago)
- Last Synced: 2025-08-01T05:29:26.167Z (7 months ago)
- Topics: blockchain, blockchain-api, ethereum, ethereum-api, etherscan, etherscan-api, etherscan-client, etherscan-io, etherscan-solidity, ethplorer
- Language: PHP
- Homepage:
- Size: 97.7 KB
- Stars: 4
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
------
# Ethplorer API PHP Library
🚀 This PHP library allows you to interact with the Ethplorer.io API. It's designed for ease of use and offers the following features:
- 🔄 Support for multiple API keys to bypass rate limits on Ethplorer's free account API.
- 📦 Requires no external dependencies.
- âš¡ Delivers high-speed performance.
- 🔑 Offers two multi-key modes: sequential and random.
Get started quickly with Ethplorer API integration using this library.
## Installation
To install the library, you can use [Composer](https://getcomposer.org/) and run the following command:
```bash
composer require numairawan/ethplorer-api-php
```
### Usage
To interact with ethplorer.io, follow these simple steps:
```php
use NumairAwan\EthplorerApi\EthplorerApi;
// Example usage:
$apiKeys = ["YOUR_API_KEY_1", "YOUR_API_KEY_2"];
// By default it will use sequential mode with multi-keys for each request
// pass 'true' in 2nd parameter to use random api for each request.
// new EthplorerApi($apiKeys, true);
$ethplorer = new EthplorerApi($apiKeys);
// Fetch last block data
$lastBlockData = $ethplorer->getLastBlock();
var_dump($lastBlockData);
```
### 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](https://opensource.org/licenses/MIT)**.
## 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!
[
](https://t.me/NumairAwan)
[
](https://wa.me/+923164700904)