Skip to main content
Initiates the Sign In With Ethereum (SIWE/EIP-4361) authentication flow. The server returns a pre-formatted SIWE message for the end user to sign with their Ethereum wallet. Pass the resulting flowId and the wallet signature to verifySiweSignature to complete sign-in.

Parameters

Returns

Promise<SignInWithSiweResult> The result of the sign in, including the SIWE message to sign.

Example