[#COutPoint]
= COutPoint
:mrdocs:

An outpoint &hyphen; a combination of a transaction hash and an index n into its vout

== Synopsis

Declared in `&lt;primitives&sol;transaction&period;h&gt;`

[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&period;
| xref:COutPoint/SetNull.adoc[`SetNull`] 
| Resets the outpoint to its null state&period;
| xref:COutPoint/ToString.adoc[`ToString`] 
| Returns a human&hyphen;readable description of the outpoint&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:COutPoint/hash.adoc[`hash`] 
| Hash of the transaction that created the referenced output&period;
| xref:COutPoint/n.adoc[`n`] 
| Index of the referenced output within that transaction&apos;s outputs&period;
|===


== Static Data Members

[cols="1,4"]
|===
| Name| Description
| xref:COutPoint/NULL_INDEX.adoc[`NULL&lowbar;INDEX`] 
| Sentinel index value marking a null outpoint&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:operator_eq-076.adoc[operator&equals;&equals;]`
| Compares two outpoints for equality&period;
| `xref:operator_lt-073.adoc[operator&lt;]`
| Orders outpoints by transaction hash, then output index&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
