[#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(0x7f2e1ba85278), requires_capability(0x7f2e14564ec8), requires_capability(0x7f2e373be078), requires_capability(0x7f2e36e34cc8)]] 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]#