user100646: Bitcoin Core ZMQ messaging system has hashtx along with 4 other topics. But nowhere it is documented whether the transactions that comes from hashtx are confirmed transactions which are added in a block or unconfirmed transactions that is yet to mined.

user48884: Both. A notification will be sent when a transaction is added to the mempool. For newly added blocks, a notification will be sent for every transaction in that block, so when a transaction is confirmed, there will be a notification for it.

100646: <p>Bitcoin Core ZMQ messaging system has <code>hashtx</code> along with 4 other topics. But nowhere it is documented whether the transactions that comes from <code>hashtx</code> are confirmed transactions which are added in a block or unconfirmed transactions that is yet to mined.</p>
 48884: <p>Both. A notification will be sent when a transaction is added to the mempool. For newly added blocks, a notification will be sent for every transaction in that block, so when a transaction is confirmed, there will be a notification for it.</p>
