verifyMessage static method

String verifyMessage(
  1. String message,
  2. String signature
)

Returns the address that signed message producing signature.

The signature may have a non-canonical v (i.e. does not need to be 27 or 28), in which case it will be normalized to compute the recoveryParam which will then be used to compute the address; This allows systems which use the v to encode additional data (such as EIP-155) to be used since the v parameter is still completely non-ambiguous.

Implementation

external static String verifyMessage(String message, String signature);