Documentation Index
Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt
Use this file to discover all available pages before exploring further.
function verifySiweSignature(options: VerifySiweSignatureOptions): Promise<VerifySiweSignatureResult>;
Verifies the Sign In With Ethereum (SIWE/EIP-4361) signature to complete authentication.
This is the second step in the SIWE authentication flow, used after signInWithSiwe.
Parameters
| Parameter | Type | Description |
|---|
options | VerifySiweSignatureOptions | The options for the verification. |
Returns
Promise<VerifySiweSignatureResult>
The result of the verification, including the authenticated user.
Example
const result = await verifySiweSignature({
flowId: "flow-id-from-signInWithSiwe",
signature: "0x1234...abcd", // The signature produced by the user's wallet
});