btck::ScriptPubkey::ScriptPubkey

Constructs a script pubkey from its raw serialized bytes.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

explicit
ScriptPubkey(std::span<std::byte const> raw);

Parameters

NameDescription
rawThe serialized script bytes.