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

Constructs a chain code from an existing 256&hyphen;bit blob&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
explicit
ChainCode(xref:base_blob-09.adoc[base&lowbar;blob&lt;256&gt;] const& b);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *b*
| The blob to copy the chain code from&period;
|===


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