Interface IValidateEvmWalletSignature

Represents the parameters for checking validity of a signed message from an EVM wallet address.

interface IValidateEvmWalletSignature {
    message: string;
    signature: string;
    walletAddress?: string;
    timestamp?: number;
    signatureValidityMinutes?: number;
}

Hierarchy

  • IValidateSignatureTimestamp
    • IValidateEvmWalletSignature

Properties

message: string

The message that has been signed by the wallet.

signature: string

The wallet's signature for the given message

walletAddress?: string

(Optional) Wallet address parameter, used to check if address obtained from signature matches the parameter address

timestamp?: number

The timestamp when the message was generated, for added security (optional).

If you are generating the message yourself and you wish to validate the timestamp, append \n${timestamp} to the end of the message with your own timestamp.

signatureValidityMinutes?: number

For how many minutes the wallet signature is valid (default 10).