Interface EthWalletAuthenticateOptions

interface EthWalletAuthenticateOptions {
    address?: string;
    chain?: string;
    expiration?: string;
    getAddress?: (() => string);
    signMessage?: ((message: string) => Promise<string>);
}

Hierarchy (view full)

Properties

address?: string

Ethereum wallet address

chain?: string

Name of chain to use for signature

expiration?: string

When the auth signature expires

getAddress?: (() => string)

Get the address of the wallet

Type declaration

    • (): string
    • Returns string

      • Ethereum wallet address
signMessage?: ((message: string) => Promise<string>)

Function to sign message

Type declaration

    • (message): Promise<string>
    • Parameters

      • message: string

        Message to sign

      Returns Promise<string>

      • Raw signature of message