musigPubkeyAgg

abstract fun musigPubkeyAgg(pubkeys: Array<ByteArray>, keyaggCache: ByteArray?): ByteArray

Aggregate public keys from all participants of a signing session.

Return

32-byte x-only public key.

Parameters

pubkeys

public keys of all participants in the signing session.

keyaggCache

(optional) key aggregation cache data from the signing session. If an empty byte array is provided, it will be filled with key aggregation data that can be used for the next steps of the signing process.