Mempool - Monitor

Hullo All - how can I get a constant flow of transactions that are in or added to my local Nodes Mempool?

1 Like

From a service you can listen on:

node.services.bitcoind.on('tx', function(txInfo) {
  // ...
});

More info here: https://github.com/bitpay/bitcore-node/blob/master/docs/services/bitcoind.md#events

Thanks