subscribeScripthash method

Stream<String> subscribeScripthash(
  1. String scripthash
)

Implementation

Stream<String> subscribeScripthash(String scripthash) {
  var methodPrefix = 'blockchain.scripthash';

  // If this is the first time, register
  registerSubscribable(methodPrefix, 1);

  return subscribe(methodPrefix, [scripthash]);
}