Client class

Constructors

Client({String httpUrl: '', String websocketUrl: '', String token})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
httpUrl Uri
The http URL of the Blockcypher server.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
token String
The API token
final
websocketUrl Uri
The websocket URL of the Blockcypher server.
final

Methods

blockchain() Future<String>
newBlocks() Stream<String>
Returns a Stream of blocks are they get published on the network
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override
transaction(String txid) Future<String>
transactionConfirmation(String txHash) Stream<String>
Returns a Stream of transactions each time a confirmation is created.
unconfirmedTransactions([String address]) Stream<String>
Returns a Stream of transactions in the mempool. High traffic without the address filter! You're likely to run into API limits in which case this case seems to hang.

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited