PHP package for the ZelCash API.
Run the following command to install this package into your project.
composer require coinrequest/zelcash-php-api
You will need Composer to install this package.
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.
Run the tests in the Tests directory with PHPUnit.
Please help us to develop this package. Every input and/or feedback is really appreciated!
This project is licensed under the MIT License.