franjsco/bitcoinfees

A PHP package to fetch Bitcoin fee predictions from bitcoinfees.earn.com

v0.1.0 2021-10-19 21:24 UTC

This package is auto-updated.

Last update: 2024-09-20 04:10:20 UTC


README

A PHP package to fetch Bitcoin fee predictions from bitcoinfees.earn.com

Requirements

  • PHP >= 7.2
  • ext-json

Installation

composer require franjsco/bitcoinfees

Example

use Franjsco\Bitcoinfees\Client;

$client = new Client();

$data = $client->getData();

Data example:

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