[#CBlockIndex-GetBlockPos] = xref:CBlockIndex.adoc[CBlockIndex]::GetBlockPos :relfileprefix: ../ :mrdocs: Returns the on‐disk position of this block's data. == Synopsis Declared in `<chain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:FlatFilePos.adoc[FlatFilePos] GetBlockPos() const; ---- == Return Value The file position, or a default position if the block data is not available. [.small]#Created with https://www.mrdocs.com[MrDocs]#