aggPublicKeys method
Aggregates public keys for MuSig2
Aggregates non-empty keys (each 33-byte compressed secp256k1) with key-agg coefficients into the aggregate point. Throws on empty or malformed input.
Implementation
@override
Secp256k1Point aggPublicKeys(List<List<int>> keys) {
if (keys.isEmpty) {
throw CoreErrors.invalidOperationArguments(
'$_tag.aggPublicKeys',
name: 'keys',
reason: 'must not be empty',
);
}
return ApiValidate.call(
'$_tag.aggPublicKeys',
() => inner.aggPublicKeys(keys),
);
}