[#Chainstate-GetLastFlushedBlock] = xref:Chainstate.adoc[Chainstate]::GetLastFlushedBlock :relfileprefix: ../ :mrdocs: Get the last block that was flushed to disk. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f9513ab5608), requires_capability(0x7f9502c98678), requires_capability(0x7f952544a3a8), requires_capability(0x7f9517400688)]] xref:CBlockIndex.adoc[CBlockIndex] const* GetLastFlushedBlock() const; ---- == Return Value Block index entry of the last block flushed to disk. [.small]#Created with https://www.mrdocs.com[MrDocs]#