@aleph-sdk/monorepo
    Preparing search index...

    Function verifyEthereum

    • Provide a way to verify the authenticity of a signature associated with a given message. This method rely on the ethers.utils.verifyMessage() implementation.

      Parameters

      • message: Uint8Array<ArrayBufferLike> | SignableMessage

        The content of the signature to verify. It can be the result of GetVerificationBuffer() or directly a BaseMessage object.

      • signature: string

        The signature associated with the first params of this method.

      • signerAddress: string

        Optional, The address associated with the signature to verify. The current account address is used by default.

      Returns boolean