[#WitnessV1Taproot-Unser]
= xref:WitnessV1Taproot.adoc[WitnessV1Taproot]::Unser
:relfileprefix: ../
:mrdocs:

Serialize the 32&hyphen;byte x&hyphen;only key data without a length prefix since it is fixed length&period;

== Synopsis

Declared in `&lt;pubkey&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Stream&gt;
static
void
Unser(
    Stream& s,
    xref:XOnlyPubKey.adoc[XOnlyPubKey]& obj);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *obj*
| A BIP340&hyphen;style x&hyphen;only public key, storing only the 32&hyphen;byte x coordinate&period;
|===


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