[#ChainCode-2constructor-01] = xref:ChainCode.adoc[ChainCode]::ChainCode :relfileprefix: ../ :mrdocs: Constructs a chain code from an existing 256‐bit blob. == Synopsis Declared in `<hash.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr explicit ChainCode(xref:base_blob-09.adoc[base_blob<256>] const& b); ---- == Parameters [cols="1,4"] |=== | Name| Description | *b* | The blob to copy the chain code from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#