3

I want to get CPFP information out of a full node—that is, ancestorsize and ancestorfees—in order to calculate the necessary fee for either CPFP, or RBF if possible.

Can I get this information through an RPC without requesting the full mempool dump?

I need this to build tools for CPFP/RBF, that are connecting to full node via RPC. But I can only find the full mempool dump, which is inefficient for this. (I don't need the full dump for one transaction information).

1 Answer 1

3

The answer is getmempoolentry.

https://chainquery.com/bitcoin-api/help/getmempoolentry

Your Answer

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

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