[#WitnessV1Taproot-2constructor-03]
= xref:WitnessV1Taproot.adoc[WitnessV1Taproot]::WitnessV1Taproot
:relfileprefix: ../
:mrdocs:

Construct a taproot destination from an x&hyphen;only public key&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
WitnessV1Taproot(xref:XOnlyPubKey.adoc[XOnlyPubKey] const& xpk);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *xpk*
| The taproot output key&period;
|===


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