[#btck_script_pubkey_create] = btck_script_pubkey_create :mrdocs: Create a script pubkey from serialized data. == Synopsis Declared in `<kernel/bitcoinkernel.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] xref:btck_ScriptPubkey-0e.adoc[btck_ScriptPubkey]* btck_script_pubkey_create( void const* script_pubkey, size_t script_pubkey_len); ---- == Return Value The script pubkey. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *script_pubkey* [in] | Serialized script pubkey. | *script_pubkey_len* [in] | Length of the script pubkey data. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#