subscribeToTxid method

void subscribeToTxid(
  1. String txid
)

Subscribe to a txid

Implementation

void subscribeToTxid(String txid) {
  verifyTxid(txid);

  // Update ws.subs to include this txid
  subs.txids.add(txid);

  if (ws != null) {
    // Send subscribe msg to chronik server
    _subUnsubTxid(false, txid);
  }
}