blockchain_info 0.1.3 blockchain_info: ^0.1.3 copied to clipboard
A client to interact with the Blockchain.info websocket interface
Blockchain.info library #
A library for communicating with the Blockchain.info API.
Examples #
Listen for all new blocks:
var client =
Client.websocket("wss://ws.blockchain.info/inv");
Stream<String> blocks = await client.newBlocks();
await for (String block in blocks) {
print("new block: $block");
}
Installing #
Add it to your pubspec.yaml
:
dependencies:
blockchain_info: 0.1.0
Licence overview #
All files in this repository fall under the license specified in COPYING. The project is licensed as AGPL with a lesser clause. It may be used within a proprietary project, but the core library and any changes to it must be published online. Source code for this library must always remain free for everybody to access.