btck_transaction_input_get_witness_stack

Get the witness stack of a transaction input. The returned witness stack is not owned and depends on the lifetime of the transaction input.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
btck_WitnessStack const*
btck_transaction_input_get_witness_stack(btck_TransactionInput const* transaction_input);

Return Value

The witness stack.

Parameters

NameDescription
transaction_input [in]Non-null.