I am using listsinceblock RPC call to show me transactions relevant to my wallet addresses only. Absolutely useful feature, but I cannot figure out how to include also mempool transactions.

Is there something that would implement such functionality?


1 Answer 1


Currently there is no way to get this information. However Bitcoin Core does track this information (at least the block height at the time the transaction entered its mempool) so it should be possible to make such a command.

Note that listsinceblock is a wallet RPC so it cannot also work on the mempool due to the separation between the node and wallet that we are trying to make.

  • thanks. is there any RPC call that works with the mempool apart from getting its size?
    – michnovka
    Jun 24, 2019 at 10:08
  • getrawmempool gives you the txids of every transaction currently in the mempool. getmempoolentry will give you information about that transaction in the mempool, including the block height at the time the transaction entered the mempool.
    – Ava Chow
    Jun 24, 2019 at 14:10
  • so if I wanted to make a wrapper around this, it looks like id have to iterate through ALL these transactions and filter by receiver address. This means 1 getrawmempool + N getmempoolentry where N can be quite huge, correct?
    – michnovka
    Jun 24, 2019 at 14:12
  • Yes. It wouldn't be very fast nor would it be atomic (i.e. you could get some information that is out of date)
    – Ava Chow
    Jun 24, 2019 at 14:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.