btck_transaction_output_get_script_pubkey

Get the script pubkey of the output. The returned script pubkey is not owned and depends on the lifetime of the transaction output.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
btck_ScriptPubkey const*
btck_transaction_output_get_script_pubkey(btck_TransactionOutput const* transaction_output);

Return Value

The script pubkey.

Parameters

NameDescription
transaction_output [in]Non-null.