[#CTxMemPool-GetMainChunkFeerate] = xref:CTxMemPool.adoc[CTxMemPool]::GetMainChunkFeerate :relfileprefix: ../ :mrdocs: Returns the fee rate of the chunk containing the given entry in the main graph. == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f95135d2be8), requires_capability(0x7f9501b11fc8), requires_capability(0x7f950ec781b8), requires_capability(0x7f9525ea7f08), requires_capability(0x7f9515097648), requires_capability(0x7f950826b8e8), requires_capability(0x7f94f856eff8), requires_capability(0x7f9513c591e8)]] xref:FeePerWeight.adoc[FeePerWeight] GetMainChunkFeerate(xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry] const& tx) const; ---- == Return Value The fee‐per‐weight of the entry's chunk. == Parameters [cols="1,4"] |=== | Name| Description | *tx* | The mempool entry to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#