Download the PHP package waygood/blockchaindata without Composer
On this page you can find all versions of the php package waygood/blockchaindata. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download waygood/blockchaindata
More information about waygood/blockchaindata
Files in waygood/blockchaindata
Package blockchaindata
Short Description This is a package designed to integrate with laravel 5.0+
License MIT
Informations about the package blockchaindata
Laravel-blockchain-data-api
This is a laravel package for interacting with blockchain data api
laravel-blockchain
A Laravel 5 Package for working with blockchain data api
Installation
PHP 5.4+ or HHVM 3.3+, and Composer are required.
To get the latest version of blockchain data api, simply run the code below in your project.
Once Laravel Blockchain Data is installed, You need to register the service provider. Open up config/app.php
and add the following to the providers
key.
Waygood\BlockchainData\BlockchainDataServiceProvider::class,
Also, register the Facade like so:
USING /WAYGOOD/BLOCKCHAINDATA PACKAGE
1. GET ADDRESS CONTENTS
$bitcoin_address contains multiple addresses (can be base58 or xpub) divided by | Optional limit parameter to show n transactions e.g. &n=50 (Default: 50, Max: 100) Optional offset parameter to skip the first n transactions e.g. &offset=100 (Page 3 for limit 50)
2. UNSPENT OUTPUTS
$bitcoin_address contains multiple addresses (can be base58 or xpub) divided by | Optional limit parameter to show n transactions e.g. &n=50 (Default: 50, Max: 100) Optional offset parameter to skip the first n transactions e.g. &offset=100 (Page 3 for limit 50)
3. BALANCE
$bitcoin_address contains multiple addresses (can be base58 or xpub) divided by |
4. GET SINGLE BLOCK
optional $format JSON by default, alternatively HEX
5. GET SINGLE TRANSACTION
optional $format JSON by default, alternatively HEX
6. GET SINGLE SUB TRANSACTION
Uses the tx_index and n values from an output (or prev_out) optional $format JSON by default, alternatively HEX
7. GET STATISTICS CHART
8. BLOCKS AT HEIGHT
9. LATEST BLOCK
10. UNCONFIRMED TRANSACTIONS
11. DAILY BLOCKS
12. DAILY BLOCKS
Credit
Readme document was inpsired and tuned from one of @Unicodedeveloper. Prosper Otemuyiwa.
Contributing
Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.
How can I thank you?
Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!
Thanks! Matthew Waygood
License
The MIT License (MIT). Please see License File for more information.