signatureVerify method

Future<Map?> signatureVerify(
  1. String message,
  2. dynamic signature,
  3. dynamic address
)

Implementation

Future<Map?> signatureVerify(String message, signature, address) async {
  final res = await serviceRoot.webView!.evalJavascript(
    'keyring.verifySignature("$message", "$signature", "$address")',
    allowRepeat: true,
  );

  if (res == null) {
    return null;
  }
  return res;
}