PHPackages                             021/ethereum-oracles - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. 021/ethereum-oracles

ActiveLibrary[API Development](/categories/api)

021/ethereum-oracles
====================

Getting blockchain statistics from Ethereum oracles

v1.0.0(4y ago)0231MITPHPPHP ^8.1

Since Mar 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/021-projects/ethereum-oracles)[ Packagist](https://packagist.org/packages/021/ethereum-oracles)[ RSS](/packages/021-ethereum-oracles/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (2)Used By (1)

Ethereum oracles library
========================

[](#ethereum-oracles-library)

A library of convenient interfaces for receiving statistics data from different ethereum oracles.

### Ethereum Mainnet oracles

[](#ethereum-mainnet-oracles)

**Offchain**

ClassSourceFeaturesO21\\EthereumOracles\\OffChain\\BlockscoutNoO21\\EthereumOracles\\OffChain\\EtherchainInstantO21\\EthereumOracles\\OffChain\\EthGasStationInstant, BlockNumber, SpeedO21\\EthereumOracles\\OffChain\\MaticNetworkInstant, BlockNumber### Usage

[](#usage)

#### Get stats from Etherchain

[](#get-stats-from-etherchain)

```
use O21\EthereumOracles\OffChain\Etherchain;
# ...

/** \O21\EthereumOracles\FeeStats\Stats $stats */
$stats = (new Etherchain)->getStats();
```

By default `getStats()` method fetching all provider supported features, but you can define only specific features like this

```
use O21\EthereumOracles\OffChain\EthGasStation;
use O21\EthereumOracles\FeeStats\Feature;
# ...

(new EthGasStation)->getStats(Feature::Speed, Feature::BlockNumber);
```

##### Stats interface

[](#stats-interface)

PropertyDescriptionRequired featureslowFee for low priority (&gt;= 30 minutes) transaction in GweiNostandardFee for medium priority (&lt; 5 minutes) transaction in GweiNohighFee for high priority transaction (&lt; 2 minutes) in GweiNoinstantFee for instant transaction (&lt; 30 seconds) in GweiInstantspeedSmallest value of (gasUsed / gaslimit) from last 10 blocksSpeedblockNumberLatest block numberBlockNumber

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1503d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/850e7a3d7b73d4aca00b33bfd13c33b97a8bec35d3b889d50cc0eec3b26eb337?d=identicon)[021-projects](/maintainers/021-projects)

---

Top Contributors

[![021-projects](https://avatars.githubusercontent.com/u/20326979?v=4)](https://github.com/021-projects "021-projects (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/021-ethereum-oracles/health.svg)

```
[![Health](https://phpackages.com/badges/021-ethereum-oracles/health.svg)](https://phpackages.com/packages/021-ethereum-oracles)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
