Download the PHP package denpa/php-bitcoinrpc without Composer

On this page you can find all versions of the php package denpa/php-bitcoinrpc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?

All versions of php-bitcoinrpc with dependencies

Informations about the package php-bitcoinrpc

Simple Bitcoin JSON-RPC client based on GuzzleHttp

Latest Stable Version License Build Status Code Climate Code Coverage Join the chat at https://gitter.im/php-bitcoinrpc/Lobby

Installation

Run in your project directory or add following lines to composer.json

and run .

Requirements

PHP 7.1 or higher
For PHP 5.6 and 7.0 use php-bitcoinrpc v2.0.x.

Usage

Create new object with url as parameter

or use array to define your bitcoind settings

Then call methods defined in Bitcoin Core API Documentation with magic:

To send asynchronous request, add Async to method name:

You can also send requests using request method:

or requestAsync method for asynchronous calls:

Multi-Wallet RPC

You can use wallet($name) function to do a Multi-Wallet RPC call:

Exceptions

Helpers

Package provides following helpers to assist with value handling.

to_bitcoin()

Converts value in satoshi to bitcoin.

to_satoshi()

Converts value in bitcoin to satoshi.

to_ubtc()

Converts value in bitcoin to ubtc/bits.

to_mbtc()

Converts value in bitcoin to mbtc.

to_fixed()

Trims float value to precision without rounding.

License

This product is distributed under MIT license.

Donations

If you like this project, please consider donating:
BTC: 3L6dqSBNgdpZan78KJtzoXEk9DN3sgEQJu
Bech32: bc1qyj8v6l70c4mjgq7hujywlg6le09kx09nq8d350

❤Thanks for your support!❤


Version
Requires php Version >=7.1
guzzlehttp/guzzle Version ^6.5 | ^7.0

The package denpa/php-bitcoinrpc contains the following files

Loading the files please wait ....