[#MuSig2AggregatePubkeys-09] = MuSig2AggregatePubkeys :mrdocs: Compute the full aggregate pubkey from the given participant pubkeys in their current order. == Synopsis Declared in `<musig.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<CPubKey> MuSig2AggregatePubkeys(std::vector<CPubKey> const& pubkeys); ---- == Return Value The aggregate public key, or std::nullopt if aggregation fails. == Parameters [cols="1,4"] |=== | Name| Description | *pubkeys* | The participant public keys, in the order they should be aggregated. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#