[#ChainCode-2constructor-04]
= xref:ChainCode.adoc[ChainCode]::ChainCode
:relfileprefix: ../
:mrdocs:

Constructs a chain code from a raw byte span&period;

== Synopsis

Declared in `&lt;hash&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
explicit
ChainCode(std::span&lt;unsigned char const&gt; vch);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *vch*
| The bytes to initialize the chain code with&period;
|===


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