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

Returns the hash of this block&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:uint256.adoc[uint256]
GetBlockHash() const;
----

== Return Value

The block hash&period; The block must have an associated hash&period;


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