Returns a coin contained in the transaction spent outputs at a certain index. The returned pointer is unowned and only valid for the lifetime of transaction_spent_outputs.
Declared in <kernel/bitcoinkernel.h>
[[__nonnull__]]
btck_Coin const*
btck_transaction_spent_outputs_get_coin_at(
btck_TransactionSpentOutputs const* transaction_spent_outputs,
size_t coin_index);
A coin pointer.
| Name | Description |
|---|---|
| transaction_spent_outputs [in] | Non-null. |
| coin_index [in] | The index of the to be retrieved coin within the transaction spent outputs. |