Returns a transaction spent outputs contained in the block spent outputs at a certain index. The returned pointer is unowned and only valid for the lifetime of block_spent_outputs.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
btck_TransactionSpentOutputs const*
btck_block_spent_outputs_get_transaction_spent_outputs_at(
    btck_BlockSpentOutputs const* block_spent_outputs,
    size_t transaction_spent_outputs_index);

Return Value

A transaction spent outputs pointer.

Parameters

Name

Description

block_spent_outputs [in]

Non‐null.

transaction_spent_outputs_index [in]

The index of the transaction spent outputs within the block spent outputs.

Created with MrDocs