verifySchnorrAsync function

Future<bool> verifySchnorrAsync(
  1. Uint8List blob,
  2. Uint8List signature,
  3. SchnorrPublicKey publicKey
)

Implementation

Future<bool> verifySchnorrAsync(
  Uint8List blob,
  Uint8List signature,
  SchnorrPublicKey publicKey,
) async {
  final result = await schnorrVerify(
    req: SchnorrVerifyReq(
      messageHash: blob,
      signatureBytes: signature,
      publicKeyBytes: publicKey.toRaw(),
    ),
  );
  return result;
}