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

Reads a full block from disk for a tree entry&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;Block&gt;
ReadBlock(xref:btck/BlockTreeEntry.adoc[BlockTreeEntry] const& entry) const;
----

== Return Value

The block, or std&colon;&colon;nullopt if it could not be read&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *entry*
| The block tree entry to read&period;
|===


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