<p>The answer is <code>getmempoolentry</code>.</p>

<p><a href="https://chainquery.com/bitcoin-api/help/getmempoolentry" rel="nofollow noreferrer">https://chainquery.com/bitcoin-api/help/getmempoolentry</a></p>

CC BY-SA 3.0
2017-11-10T11:29:36.620Z
2017-11-10T11:29:36.620Z
Karel Bílek
<p>I want to get CPFP information out of a full node—that is, <code>ancestorsize</code> and <code>ancestorfees</code>—in order to calculate the necessary fee for either CPFP, or RBF if possible.</p>
<p>Can I get this information through an RPC without requesting the full mempool dump?</p>
<p>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).</p>

<json-rpc><mempool><replace-by-fee><child-pays-for-parent>
Is it possible to get CPFP information from full node, without requesting full mempool dump?
Karel Bílek
# Is it possible to get CPFP information from full node, without requesting full mempool dump?

(Asked by: username_0 on 2017-11-10)

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).

**Tags:** json-rpc, mempool, replace-by-fee, child-pays-for-parent


---

## 1 answers

### Answer by username_0 on 2017-11-10. Score: 3 | Accepted answer

The answer is `getmempoolentry`.

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


---

