CRTP mixin adding transaction accessors shared by the view and owning types.
Declared in <kernel/bitcoinkernel_wrapper.h>
template<typename Derived>
class TransactionApi;
| Name | Description |
|---|---|
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 | Returns a range over all inputs. |
Outputs | Returns a range over all outputs. |
ToBytes | Serializes the transaction to its raw bytes. |
Txid | Returns the transaction id. |
| Name | Description |
|---|---|
Transaction | Owning wrapper over a btck_Transaction. |
TransactionView | Non-owning view over a btck_Transaction. |