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

Returns the hash of the best (tip) block recorded in the database&period;

== Synopsis

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

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

== Return Value

The best block hash&period;


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