Non-owning view over a btck_Transaction.
Declared in <kernel/bitcoinkernel_wrapper.h>
class TransactionView
: public View<btck_Transaction>
, public TransactionApi<TransactionView>
| Name | Description |
|---|---|
View<btck_Transaction> | Non-owning view over a const C handle of type CType. |
TransactionApi<TransactionView> | CRTP mixin adding transaction accessors shared by the view and owning types. |
| Name | Description |
|---|---|
TransactionView [constructor] | Constructs a view over ptr. |
CountInputs | Returns the number of inputs. |
CountOutputs | Returns the number of outputs. |
GetInput | Returns a single input by index. |
GetLocktime | Returns the transaction locktime. |
GetOutput | Returns a single output by index. |
Inputs | |
Outputs | |
ToBytes | Serializes the transaction to its raw bytes. |
Txid | Returns the transaction id. |
get | Returns the borrowed C handle. |
| Name | Description |
|---|---|
m_ptr | The borrowed C handle. |