[#XOnlyPubKey-2constructor-051] = xref:XOnlyPubKey.adoc[XOnlyPubKey]::XOnlyPubKey :relfileprefix: ../ :mrdocs: Construct an x‐only pubkey from exactly 32 bytes. == Synopsis Declared in `<pubkey.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr explicit XOnlyPubKey(std::span<unsigned char const> bytes); ---- == Parameters [cols="1,4"] |=== | Name| Description | *bytes* | The 32‐byte x coordinate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#