[#TxGraph-GetMainChunkFeerate] = xref:TxGraph.adoc[TxGraph]::GetMainChunkFeerate :relfileprefix: ../ :mrdocs: Get the feerate of the chunk which transaction arg is in, in the main graph. Returns the empty FeePerWeight if arg does not exist in the main graph. The main graph must not be oversized. == Synopsis Declared in `<txgraph.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual xref:FeePerWeight.adoc[FeePerWeight] GetMainChunkFeerate(xref:TxGraph/Ref.adoc[Ref] const& arg) noexcept = 0; ---- == Return Value The feerate of the chunk containing the transaction, or the empty FeePerWeight if it does not exist in the main graph. == Parameters [cols="1,4"] |=== | Name| Description | *arg* | Reference to the transaction to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#