[#btck_block_hash_create]
= btck&lowbar;block&lowbar;hash&lowbar;create
:mrdocs:

Create a block hash from its raw data&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard, &lowbar;&lowbar;nonnull&lowbar;&lowbar;&rsqb;&rsqb;
xref:btck_BlockHash-07.adoc[btck&lowbar;BlockHash]*
btck&lowbar;block&lowbar;hash&lowbar;create(unsigned char const block&lowbar;hash[]);
----

== Return Value

Opaque data structure for holding a block hash&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *block&lowbar;hash* [in]
| 32&hyphen;byte big&hyphen;endian block hash bytes&period;
|===


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