Skip to content

CoinRequest/Zelcash-PHP-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZelCash PHP API Client

PHP package for the ZelCash API.

Getting Started

Run the following command to install this package into your project.

composer require coinrequest/zelcash-php-api 

Prerequisites

You will need Composer to install this package.

Installing

After installing this package with composer, create a new ZelCash instance.

Something like this

$zelCash = new ZelCash();

And call the desired endpoint

$zelCash->addressEndpoint()->getAddress($address);

The current implemented endpoints are:

  • /addr/[:addr][?noTxList=1][&from=&to=]
  • /tx/[:txid]
  • /block/[:hash]

Please check the endpoints at https://github.com/TheTrunk/insight-api.

Running the tests

Run the tests in the Tests directory with PHPUnit.

Built With

Contributing

Please help us to develop this package. Every input and/or feedback is really appreciated!

License

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published

Languages