1

A transaction can be RBF if itself is a RBF, or it spends outputs from a RBF transaction.

Is there a way to use bitcoin RPC node to check if a transaction is spending outputs from a RBF transcation?

2

The getrawmempool RPC command, in verbose mode, produces an output that contains all known mempool transactions for your nodes. This output contains a bip125-replaceable boolean field which you can use to determine if a tx is explicitly or implicitly replaceable by fee.

| improve this answer | |
2

Based on Raghav Sood's answer, I found the more specific answer to the OP would be using getmempoolentry, in order to get an individual transaction info. Otherwise you'll be flooded with tons of transactions. Documented here

You can also use gettransaction, it returns bip125-replaceable flag as well, however just for Bitcore prior to 0.10.0 according to this

| improve this answer | |
  • Ah, good point, I didn't actually realize an option for a single tx was added in 0.13! – Raghav Sood Mar 6 at 9:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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