[#btck-ScriptPubkey-2constructor-00] = xref:btck.adoc[btck]::xref:btck/ScriptPubkey.adoc[ScriptPubkey]::ScriptPubkey :relfileprefix: ../../ :mrdocs: Constructs a script pubkey from its raw serialized bytes. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit ScriptPubkey(std::span<std::byte const> raw); ---- == Parameters [cols="1,4"] |=== | Name| Description | *raw* | The serialized script bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#