Blockcypher library

pub package

A library for communicating with the Blockcypher API. Only some websocket calls are implemented.


Listen for all new blocks:

  var client =
      Client.websocket("wss://", "YOUR-TOKEN");

  Stream<String> blocks = await client.newBlocks();
  await for (String block in blocks) {
    print("new block: $block");

For more examples see the examples directory.


Add it to your pubspec.yaml:

  blockcypher: 0.1.2

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.