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.
Synopsis
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);
Return Value
A coin pointer.
Parameters
Name |
Description |
transaction_spent_outputs [in] |
Non‐null. |
coin_index [in] |
The index of the to be retrieved coin within the transaction spent outputs. |
Created with MrDocs