[#btck_block_hash_to_bytes]
= btck&lowbar;block&lowbar;hash&lowbar;to&lowbar;bytes
:mrdocs:

Serializes the block hash to bytes&period;

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block&lowbar;hash* [in]
| Non&hyphen;null&period;
| *output* [in]
| The serialized block hash&period;
|===


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