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. michaelstivala/omnipay-etherscan

ActiveLibrary

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 1mo 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 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

1528d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8fa5c90cd0457ca59ec3cefda2cdf71630fc5f9887e7a99572f841020cd820ed?d=identicon)[michaelstivala](/maintainers/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

[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

41.5k328.9k1](/packages/ccxt-ccxt)[league/omnipay

Omnipay payment processing library

6.1k9.7M165](/packages/league-omnipay)[coinpaymentsnet/coinpayments-php

A PHP wrapper for the CoinPayments.net v1 API.

55126.2k](/packages/coinpaymentsnet-coinpayments-php)[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

38106.0k15](/packages/silverstripe-silverstripe-omnipay)[maslakoff/php-etherscan-api

PHP client for the Etherscan API

2922.7k](/packages/maslakoff-php-etherscan-api)[cryptapi/php-cryptapi

CryptAPI's PHP library

2211.6k](/packages/cryptapi-php-cryptapi)

PHPackages © 2026

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