[#btck-Txid] = xref:btck.adoc[btck]::Txid :relfileprefix: ../ :mrdocs: Owning wrapper over a `btck_Txid` transaction identifier. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class Txid : public xref:btck/Handle-046.adoc[Handle<btck_Txid, btck_txid_copy, btck_txid_destroy>] , public xref:btck/TxidApi-020.adoc[TxidApi<Txid>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:btck/Handle-046.adoc[Handle<btck_Txid, btck_txid_copy, btck_txid_destroy>]` | Owning RAII handle for a copyable C object of type `CType.` | `xref:btck/TxidApi-020.adoc[TxidApi<Txid>]` | CRTP mixin adding transaction‐id operations shared by the view and owning types. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:btck/Txid/2constructor.adoc[`Txid`] [.small]#[constructor]# | Constructs an owning copy from a view. | xref:btck/Txid/operator_assign-03.adoc[`operator=`] | Assignment operators | xref:btck/Txid/ToBytes.adoc[`ToBytes`] | Returns the raw 32‐byte transaction id. | xref:btck/Txid/get-03.adoc[`get`] | Returns the owned C handle. | xref:btck/Txid/operator_eq.adoc[`operator==`] | Compares two transaction ids for equality. | xref:btck/Txid/operator_not_eq.adoc[`operator!=`] | Compares two transaction ids for inequality. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:btck/Txid/m_ptr.adoc[`m_ptr`] | The owned C handle. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#