[#CCoinsView-GetBestBlock]
= xref:CCoinsView.adoc[CCoinsView]::GetBestBlock
:relfileprefix: ../
:mrdocs:

Retrieve the block hash whose state this CCoinsView currently represents

== Synopsis

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

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

== Return Value

Hash of the block whose state the view represents&period;


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