Create a script pubkey from serialized data.
Synopsis
Declared in <kernel/bitcoinkernel.h>
[[nodiscard]]
btck_ScriptPubkey*
btck_script_pubkey_create(
void const* script_pubkey,
size_t script_pubkey_len);
Return Value
The script pubkey.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
script_pubkey [in] |
Serialized script pubkey. |
script_pubkey_len [in] |
Length of the script pubkey data. |
Created with MrDocs