Get the transaction input at the provided index. The returned transaction input is not owned and depends on the lifetime of the transaction.
Declared in <kernel/bitcoinkernel.h>
[[__nonnull__]]
btck_TransactionInput const*
btck_transaction_get_input_at(
btck_Transaction const* transaction,
size_t input_index);
The transaction input
| Name | Description |
|---|---|
| transaction [in] | Non-null. |
| input_index [in] | The index of the transaction input to be retrieved. |