How is it possible to get the latest transactions txid in real-time? I mean to implement something similar to what blockchain.info does on its homepage. How do they do it to get all transactions info that happens on the network? I'm talking about zero-confirmation transactions.
EDIT I have found out the API getrawmempool. Does this answer the question? Does it contain all the real-time transactions in the network for the current live block?