PHP code example of arthurpatriot / thepower-sdk
1. Go to this page and download the library: Download arthurpatriot/thepower-sdk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
arthurpatriot / thepower-sdk example snippets
use ThePower\PowerClient;
$client = new PowerClient('{NODE_URL}');
$client->status();
$client->nodeStatus();
$client->settings();
$client->blockInfo('{HASH}');
$client->block('{HASH}');
$client->where('{ADDRESS}');
$client->address('{ADDRESS}');