recoverSignature static method

String recoverSignature({
  1. required String signature,
  2. required Uint8List message,
})

Recover exactly sender address from signature and message

@param {String} signature - the signature that was signed from the below message @param {Uint8List} message - the message of signature @returns {String} - wallet address which signed the above message to the above signature

Implementation

static String recoverSignature(
    {required String signature, required Uint8List message}) {
  return SignatureUtil.ecRecover(
      signature: signature, message: message, isPersonalSign: false);
}