> ## 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.

# verifySiweSignature

```ts theme={null}
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`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Type-Aliases/VerifySiweSignatureOptions) | The options for the verification. |

## Returns

`Promise`\<[`VerifySiweSignatureResult`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Type-Aliases/VerifySiweSignatureResult)>

The result of the verification, including the authenticated user.

## Example

```typescript lines theme={null}
const result = await verifySiweSignature({
  flowId: "flow-id-from-signInWithSiwe",
  signature: "0x1234...abcd", // The signature produced by the user's wallet
});
```
