[#CreateMuSig2SyntheticXpub]
= CreateMuSig2SyntheticXpub
:mrdocs:

Construct the BIP 328 synthetic xpub for a pubkey

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CExtPubKey.adoc[CExtPubKey]
CreateMuSig2SyntheticXpub(xref:CPubKey.adoc[CPubKey] const& pubkey);
----

== Return Value

The BIP 328 synthetic extended public key&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pubkey*
| The aggregate public key to wrap in a synthetic extended public key&period;
|===


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