[#DeserializeMuSig2ParticipantDataIdentifier] = DeserializeMuSig2ParticipantDataIdentifier :mrdocs: Deserialize the MuSig2 participant identifiers from a PSBT MuSig2 field. == Synopsis Declared in `<psbt.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Stream> void DeserializeMuSig2ParticipantDataIdentifier( Stream& skey, xref:CPubKey.adoc[CPubKey]& agg_pub, xref:CPubKey.adoc[CPubKey]& part_pub, xref:uint256.adoc[uint256]& leaf_hash); ---- == Description Both the pubnonce and partial‐signature fields share the same layout after the type byte: aggregate pubkey, participant pubkey, and optional leaf hash. == Parameters [cols="1,4"] |=== | Name| Description | *skey* | The key reader positioned after the type byte. | *agg_pub* | Receives the aggregate public key. | *part_pub* | Receives the participant public key. | *leaf_hash* | Receives the leaf script hash, or null when absent. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#