Get the script pubkey of the output. The returned script pubkey is not owned and depends on the lifetime of the transaction output.
Declared in <kernel/bitcoinkernel.h>
[[__nonnull__]]
btck_ScriptPubkey const*
btck_transaction_output_get_script_pubkey(btck_TransactionOutput const* transaction_output);
The script pubkey.
| Name | Description |
|---|---|
| transaction_output [in] | Non-null. |