verifyHash method

bool verifyHash({
  1. required List<int> msgHash,
  2. required IECDSASignature signature,
})

Verify a threshold signature over a 32-byte message hash.

Implementation

bool verifyHash({
  required List<int> msgHash,
  required IECDSASignature signature,
}) {
  return blockchainUtils.api.dkls23.verify(
    curve: curve,
    groupPk: aggKey.toBytes(),
    msgHash: msgHash,
    signature: signature.toBytes(),
  );
}