Skip to main content

Function Signature

Description

Verifies that a message was signed by the specified wallet address. Performs message recovery and address comparison to validate the signature.

Parameters

Required Parameters

  • accountAddress (string) - The wallet address that signed the message (must include 0x prefix)
  • message (SignableMessage) - The original message that was signed
  • signature (any) - The signature to verify (hex string with 0x prefix)

Returns

  • Promise<boolean> - true if the signature is valid, false otherwise

Example

Error Handling

Last modified on January 26, 2026