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