PHP code example of franjsco / bitcoinfees

1. Go to this page and download the library: Download franjsco/bitcoinfees 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/ */

    

franjsco / bitcoinfees example snippets


use Franjsco\Bitcoinfees\Client;

$client = new Client();

$data = $client->getData();

[
  "fastestFee" => "102",
  "halfHourFee" => "102",
  "hourFee" => "88"
]