CreateMuSig2SyntheticXpub

Construct the BIP 328 synthetic xpub for a pubkey

Synopsis

Declared in <musig.h>

CExtPubKey
CreateMuSig2SyntheticXpub(CPubKey const& pubkey);

Return Value

The BIP 328 synthetic extended public key.

Parameters

NameDescription
pubkeyThe aggregate public key to wrap in a synthetic extended public key.