PHPackages                             xboston/metahash - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. xboston/metahash

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

xboston/metahash
================

MetaHash Cryptocurrency PHP SDK

v0.5(4y ago)63158[3 issues](https://github.com/xboston/php-metahash/issues)[2 PRs](https://github.com/xboston/php-metahash/pulls)1MITPHPPHP &gt;=8.0.2

Since Jun 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/xboston/php-metahash)[ Packagist](https://packagist.org/packages/xboston/metahash)[ Docs](https://github.com/xboston/php-metahash)[ RSS](/packages/xboston-metahash/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (7)Versions (22)Used By (1)

MetaHash API PHP library
========================

[](#metahash-api-php-library)

An unofficial PHP library for [\#MetaHash](https://metahash.org) blockchain.

### Requirements

[](#requirements)

- PHP 8.0.2+
- ext-gmp
- ext-curl
- composer

### Installation

[](#installation)

You can install this package with Composer. You only need to require xboston/metahash.

```
composer require xboston/metahash
```

### Information

[](#information)

- [Missing #MetaHash API documentation](https://github.com/xboston/metahash-api)
- [Original source](https://github.com/metahashorg/crypt_example_php)
- [Knowledge base](https://developers.metahash.org)
- [Testpage portal](http://testpage.metahash.org/)

### Methods

[](#methods)

- fetch-balance
- fetch-balances
- fetch-history
- get-address-delegations
- get-tx
- get-block-by-hash
- get-block-by-number
- get-last-txs
- get-blocks
- get-dump-block-by-number
- get-dump-block-by-hash
- get-count-blocks
- get-forging-sum
- get-last-node-stat-result
- get-last-node-stat-trust
- get-last-node-stat-count
- get-last-nodes-stats-count
- get-all-last-nodes-count
- get-nodes-raiting
- get-common-balance
- status
- mhc\_send
- getinfo

### Extra Methods

[](#extra-methods)

- [generateKey](https://developers.metahash.org/hc/en-us/articles/360002712193-Getting-started-with-Metahash-network)
- getNonce

### Usage

[](#usage)

You can find usage examples in the [examples](https://github.com/xboston/metahash-php/tree/master/examples) folder.

### Examples

[](#examples)

```
