btck::TransactionSpentOutputsView

Non-owning view over a btck_TransactionSpentOutputs.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

class TransactionSpentOutputsView
    : public View<btck_TransactionSpentOutputs>
    , public TransactionSpentOutputsApi<TransactionSpentOutputsView>

Base Classes

NameDescription
View<btck_TransactionSpentOutputs>Non-owning view over a const C handle of type CType.
TransactionSpentOutputsApi<TransactionSpentOutputsView>CRTP mixin adding accessors over the coins spent by one transaction.

Member Functions

NameDescription
TransactionSpentOutputsView [constructor]Constructs a view over ptr.
Coins
Count Returns the number of spent outputs.
GetCoin Returns a single spent coin by index.
get Returns the borrowed C handle.

Protected Data Members

NameDescription
m_ptr The borrowed C handle.