[#btck-TxidApi-020] = xref:btck.adoc[btck]::TxidApi :relfileprefix: ../ :mrdocs: CRTP mixin adding transaction‐id operations shared by the view and owning types. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Derived> class TxidApi; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:btck/TxidApi-020/ToBytes.adoc[`ToBytes`] | Returns the raw 32‐byte transaction id. | xref:btck/TxidApi-020/operator_eq.adoc[`operator==`] | Compares two transaction ids for equality. | xref:btck/TxidApi-020/operator_not_eq.adoc[`operator!=`] | Compares two transaction ids for inequality. |=== == Friends [cols="1,4"] |=== | Name| Description | `Derived` | |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:btck/Txid.adoc[`Txid`] | Owning wrapper over a `btck_Txid` transaction identifier. | xref:btck/TxidView.adoc[`TxidView`] | Non‐owning view over a `btck_Txid`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#