[#DeserializeMuSig2ParticipantPubkeys]
= DeserializeMuSig2ParticipantPubkeys
:mrdocs:

Deserialize a PSBT&lowbar;&lcub;IN,OUT&rcub;&lowbar;MUSIG2&lowbar;PARTICIPANT&lowbar;PUBKEYS field&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Stream&gt;
void
DeserializeMuSig2ParticipantPubkeys(
    Stream& s,
    xref:SpanReader.adoc[SpanReader]& skey,
    std::map&lt;CPubKey, std::vector&lt;CPubKey&gt;&gt;& out,
    std::string context);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| The input stream carrying the participant public keys value&period;
| *skey*
| The key reader positioned at the aggregate public key&period;
| *out*
| Map from aggregate public key to its participant public keys&period;
| *context*
| A label used in error messages to identify the field&period;
|===


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