[#btck-ChainMan-GetBlockTreeEntry]
= xref:btck.adoc[btck]::xref:btck/ChainMan.adoc[ChainMan]::GetBlockTreeEntry
:relfileprefix: ../../
:mrdocs:

Looks up a block tree entry by hash&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;BlockTreeEntry&gt;
GetBlockTreeEntry(xref:btck/BlockHash.adoc[BlockHash] const& block&lowbar;hash) const;
----

== Return Value

The matching entry, or std&colon;&colon;nullopt if unknown&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block&lowbar;hash*
| The hash to look up&period;
|===


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