Constructors
Declared in <kernel/bitcoinkernel_wrapper.h>
Constructs a script pubkey from its raw serialized bytes.
explicit
ScriptPubkey(std::span<std::byte const> raw);
» more...
Constructs an owning copy from a view.
ScriptPubkey(ScriptPubkeyView const& view);
» more...
| Name | Description |
|---|---|
| raw | The serialized script bytes. |
| view | The view to copy. |