[#CBlockIndex-GetBlockPos]
= xref:CBlockIndex.adoc[CBlockIndex]::GetBlockPos
:relfileprefix: ../
:mrdocs:

Returns the on&hyphen;disk position of this block&apos;s data&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f9500cbe238), requires&lowbar;capability(0x7f9511905878), requires&lowbar;capability(0x7f951ec49af8), requires&lowbar;capability(0x7f9524d79bf8), requires&lowbar;capability(0x7f9503ca04c8), requires&lowbar;capability(0x7f9516ce9b98), requires&lowbar;capability(0x7f9520d77e58), requires&lowbar;capability(0x7f9524d446f8), requires&lowbar;capability(0x7f9517141ac8), requires&lowbar;capability(0x7f9516bbe568), requires&lowbar;capability(0x7f94f3859418)&rsqb;&rsqb;
xref:FlatFilePos.adoc[FlatFilePos]
GetBlockPos() const;
----

== Return Value

The file position, or a default position if the block data is not available&period;


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