[#TxGraph-BlockBuilder-GetCurrentChunk]
= xref:TxGraph.adoc[TxGraph]::xref:TxGraph/BlockBuilder.adoc[BlockBuilder]::GetCurrentChunk
:relfileprefix: ../../
:mrdocs:

Get the chunk that is currently suggested to be included, plus its feerate, if any&period;

== Synopsis

Declared in `&lt;txgraph&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
std::optional&lt;std::pair&lt;std::vector&lt;Ref*&gt;, FeePerWeight&gt;&gt;
GetCurrentChunk() noexcept = 0;
----

== Return Value

The current chunk and its feerate, or std&colon;&colon;nullopt if none remain&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
