btck::TransactionSpentOutputsApi

CRTP mixin adding accessors over the coins spent by one transaction.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

template<typename Derived>
class TransactionSpentOutputsApi;

Member Functions

NameDescription
Coins Returns a range over all coins spent by the transaction.
Count Returns the number of spent outputs.
GetCoin Returns a single spent coin by index.

Friends

NameDescription
Derived

Derived Classes

NameDescription
TransactionSpentOutputs Owning wrapper over a btck_TransactionSpentOutputs, the coins spent by one transaction.
TransactionSpentOutputsView Non-owning view over a btck_TransactionSpentOutputs.