query postgres cache is monitoring new blocks and txs.