[#COutPoint] = COutPoint :mrdocs: An outpoint ‐ a combination of a transaction hash and an index n into its vout == Synopsis Declared in `<primitives/transaction.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class COutPoint; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:COutPoint/2constructor-046.adoc[`COutPoint`] [.small]#[constructor]# | Constructors | xref:COutPoint/IsNull.adoc[`IsNull`] | Returns true when the outpoint references no output. | xref:COutPoint/SetNull.adoc[`SetNull`] | Resets the outpoint to its null state. | xref:COutPoint/ToString.adoc[`ToString`] | Returns a human‐readable description of the outpoint. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:COutPoint/hash.adoc[`hash`] | Hash of the transaction that created the referenced output. | xref:COutPoint/n.adoc[`n`] | Index of the referenced output within that transaction's outputs. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:COutPoint/NULL_INDEX.adoc[`NULL_INDEX`] | Sentinel index value marking a null outpoint. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:operator_eq-076.adoc[operator==]` | Compares two outpoints for equality. | `xref:operator_lt-073.adoc[operator<]` | Orders outpoints by transaction hash, then output index. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#