[#PayToAnchor] = PayToAnchor :mrdocs: A pay‐to‐anchor destination for a P2A address. == Synopsis Declared in `<addresstype.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct PayToAnchor : xref:WitnessUnknown.adoc[WitnessUnknown] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:WitnessUnknown.adoc[WitnessUnknown]` | CTxDestination subtype to encode any future Witness version. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:PayToAnchor/2constructor.adoc[`PayToAnchor`] [.small]#[constructor]# | Construct the fixed pay‐to‐anchor witness program. | xref:WitnessUnknown/GetWitnessProgram.adoc[`GetWitnessProgram`] | Return the witness program bytes. | xref:WitnessUnknown/GetWitnessVersion.adoc[`GetWitnessVersion`] | Return the witness version. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:operator_lt-0d.adoc[`operator<`] | Order two destinations by version, then by program. | xref:operator_eq-04e.adoc[`operator==`] | Compare two destinations for equality by version and program. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#