labsatoshi/phpblockpaysio

This library let integrate your application to our platform then use all service of cripto currencies that us have for you

This package's canonical repository appears to be gone and the package has been frozen as a result.

1.0.0 2020-04-03 18:41 UTC

This package is auto-updated.

Last update: 2020-10-03 19:56:27 UTC


README

Blockpays.io Application Programming Interface.

This library let integrate your application to our platform then use all service of cripto currencies that us have for you

Install

$ composer require labsatoshi/phpblockpaysio

Usage

PHP

Example: Checking validity of address BTCTEST

<?php
require('./vendor/autoload.php');
use labsatoshi\blockpays\Blockpays;

$blockpays = new Blockpays('32DtHDALsvmxZgG9ESagWt1585794490753');

$response = $blockpays->isValidAddress([
    "address" => "3LcmURk5uGg6V2PVGwjGUpcujDKBQnfTSG",
	"currencyId" => 1
]);

print_r($response);

Response:

stdClass Object
(
    [status] => success
    [data] => stdClass Object
        (
            [network] => 1
            [address] => 3LcmURk5uGg6V2PVGwjGUpcujDKBQnfTSG
            [is_valid] => 1
        )

)

License

MIT © Labsatoshi