[#btck_txid_to_bytes]
= btck&lowbar;txid&lowbar;to&lowbar;bytes
:mrdocs:

Serializes the txid 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;txid&lowbar;to&lowbar;bytes(
    xref:btck_Txid-0e.adoc[btck&lowbar;Txid] const* txid,
    unsigned char output[]);
----

== Parameters

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


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