btck::TransactionInput

Owning wrapper over a btck_TransactionInput.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

class TransactionInput
    : public Handle<btck_TransactionInput, btck_transaction_input_copy, btck_transaction_input_destroy>
    , public TransactionInputApi<TransactionInput>

Base Classes

NameDescription
Handle<btck_TransactionInput, btck_transaction_input_copy, btck_transaction_input_destroy>Owning RAII handle for a copyable C object of type CType.
TransactionInputApi<TransactionInput>CRTP mixin adding transaction-input accessors shared by the view and owning types.

Member Functions

NameDescription
TransactionInput [constructor]Constructs an owning copy from a view.
operator= Assignment operators
GetScriptSig Returns the input's signature script.
GetSequence Returns the input's sequence number.
GetWitnessStack Returns the input's witness stack.
OutPoint Returns the out-point this input spends.
get Returns the owned C handle.

Protected Data Members

NameDescription
m_ptr The owned C handle.