PHP code example of denpa / laravel-bitcoinrpc
1. Go to this page and download the library: Download denpa/laravel-bitcoinrpc 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/ */
denpa / laravel-bitcoinrpc example snippets
$hash = '000000000001caba23d5a17d5941f0c451c4ac221cbaa6c60f27502f53f87f68';
$block = bitcoind()->getBlock($hash);
dd($block->get());
sh
php artisan vendor:publish --provider="Denpa\Bitcoin\Providers\ServiceProvider"