[#btck-BlockTreeEntry-GetPrevious] = xref:btck.adoc[btck]::xref:btck/BlockTreeEntry.adoc[BlockTreeEntry]::GetPrevious :relfileprefix: ../../ :mrdocs: Returns the previous (parent) entry, if any. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<BlockTreeEntry> GetPrevious() const; ---- == Return Value The parent entry, or std::nullopt at the genesis block. [.small]#Created with https://www.mrdocs.com[MrDocs]#