[#CBlockIndex-GetBlockHash] = xref:CBlockIndex.adoc[CBlockIndex]::GetBlockHash :relfileprefix: ../ :mrdocs: Returns the hash of this block. == Synopsis Declared in `<chain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:uint256.adoc[uint256] GetBlockHash() const; ---- == Return Value The block hash. The block must have an associated hash. [.small]#Created with https://www.mrdocs.com[MrDocs]#