[#btck-BlockHashApi-00-ToBytes]
= xref:btck.adoc[btck]::xref:btck/BlockHashApi-00.adoc[BlockHashApi]::ToBytes
:relfileprefix: ../../
:mrdocs:

Returns the raw 32&hyphen;byte block hash&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::array&lt;std::byte, 32&gt;
ToBytes() const;
----

== Return Value

The block hash bytes&period;


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