Hash
ethVerifyMessage
Return the address of the private key that produced the signature sig
during signing for message
.
This is the same as verifyMessage
except it uses EthMessagePrefix
instead of MessagePrefix
and is available for
broader compatibility with EVM signing practices.
Parameters
Parameter | Type | Description |
---|---|---|
message | string | Uint8Array | The message that was signed. |
sig | SignatureLike | The signature to verify. |
Returns
string
The address of the signer.
Source
Was this page helpful?