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

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
btck_Transaction const*
btck_block_get_transaction_at(
    btck_Block const* block,
    size_t transaction_index);

Return Value

The transaction.

Parameters

Name

Description

block [in]

Non‐null.

transaction_index [in]

The index of the transaction to be retrieved.

Created with MrDocs