The [ZMQ interface](https://github.com/bitcoin/bitcoin/blob/master/doc/zmq.md) is one of the building block for a useful `monitor` command.