blockcypher 0.1.4 copy "blockcypher: ^0.1.4" to clipboard
blockcypher: ^0.1.4 copied to clipboard

outdated

Minimalistic library for communicating with the Blockcypher API.

Blockcypher library #

pub package

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

Examples #

Listen for all new blocks:

  var client =
      Client.websocket("wss://socket.blockcypher.com/v1/btc/main", "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.

Installing #

Add it to your pubspec.yaml:

dependencies:
  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.

3
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Minimalistic library for communicating with the Blockcypher API.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

http, uuid, web_socket_channel

More

Packages that depend on blockcypher