Get the transaction input at the provided index. The returned transaction input is not owned and depends on the lifetime of the transaction.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
btck_TransactionInput const*
btck_transaction_get_input_at(
    btck_Transaction const* transaction,
    size_t input_index);

Return Value

The transaction input

Parameters

Name

Description

transaction [in]

Non‐null.

input_index [in]

The index of the transaction input to be retrieved.

Created with MrDocs