PHPackages                             michaelstivala/omnipay-etherscan - 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. [Payment Processing](/categories/payments)
4. /
5. michaelstivala/omnipay-etherscan

ActiveLibrary[Payment Processing](/categories/payments)

michaelstivala/omnipay-etherscan
================================

Etherscan driver for the Omnipay payment processing library

1.8(4y ago)05171MITPHP

Since Feb 18Pushed 4y agoCompare

[ Source](https://github.com/michaelstivala/omnipay-etherscan)[ Packagist](https://packagist.org/packages/michaelstivala/omnipay-etherscan)[ Docs](https://github.com/financialplugins/omnipay-etherscan)[ RSS](/packages/michaelstivala-omnipay-etherscan/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (13)Used By (0)

Omnipay: Etherscan.io gateway
=============================

[](#omnipay-etherscanio-gateway)

[Etherscan.io](https://etherscan.io) driver for the [Omnipay](https://omnipay.thephpleague.com) PHP payment processing library.

Installation
------------

[](#installation)

```
composer require financialplugins/omnipay-etherscan

```

Usage
-----

[](#usage)

### Initialize

[](#initialize)

This step is required before using other methods.

```
$gateway = Omnipay::create('Etherscan');

$gateway->initialize([
    'api_key' => '...',
    'network' => 'main' // kovan or ropsten can also be used
]);

```

### Fetch Address Balance

[](#fetch-address-balance)

```
$response = $gateway->fetchBalance(['address' => '0xAAAAAAAAAA...'])->send();

if ($response->isSuccessful()) {
    $data = $response->getData();
} else {
    $errorMessage = $response->getMessage();
}

```

### Fetch Contract (ERC20 token) Address Balance

[](#fetch-contract-erc20-token-address-balance)

```
$response = $gateway->fetchTokenBalance([
    'address' => '0xAAAAAAAAAA...',
    'contract_address' => '0xAAAAAAAAAA...'
])->send();

if ($response->isSuccessful()) {
    $data = $response->getData();
} else {
    $errorMessage = $response->getMessage();
}

```

### Fetch Transaction Info

[](#fetch-transaction-info)

```
$response = $gateway->fetchTransaction(['transactionReference' => '0xAAAAAAAAAA...'])->send();

if ($response->isSuccessful()) {
    $data = $response->getData();
} else {
    $errorMessage = $response->getMessage();
}

```

Support
-------

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay](omnipay) tag so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/financialplugins/omnipay-etherscan/issues), or better yet, fork the library and submit a pull request.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Every ~74 days

Recently: every ~91 days

Total

11

Last Release

1574d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4493561?v=4)[Michael Stivala](/maintainers/michaelstivala)[@michaelstivala](https://github.com/michaelstivala)

---

Top Contributors

[![njordo](https://avatars.githubusercontent.com/u/7125867?v=4)](https://github.com/njordo "njordo (13 commits)")

---

Tags

cryptoomnipayethereumetherscan

### Embed Badge

![Health badge](/badges/michaelstivala-omnipay-etherscan/health.svg)

```
[![Health](https://phpackages.com/badges/michaelstivala-omnipay-etherscan/health.svg)](https://phpackages.com/packages/michaelstivala-omnipay-etherscan)
```

###  Alternatives

[league/omnipay

Omnipay payment processing library

6.1k10.2M182](/packages/league-omnipay)[ignited/laravel-omnipay

Integrates Omnipay with Laravel and provides an easy configuration.

5151.1M12](/packages/ignited-laravel-omnipay)[omnipay/mollie

Mollie driver for the Omnipay payment processing library

631.8M10](/packages/omnipay-mollie)[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

38108.5k17](/packages/silverstripe-silverstripe-omnipay)

PHPackages © 2026

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