Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
domain | string | Domain of your application. Must match the domain in the provided SIWF message. | Yes |
nonce | string | A custom nonce. Must match the nonce in the provided SIWF message. | Yes |
message | string or SiweMessage | The Sign in With Farcaster message to verify. This may be either a string or a parsed SiweMessage. Your app should read this value from the Connect channel once the request is completed. | Yes |
signature | Hex | Signature provided by the user’s Farcaster wallet. Your app should read this from the Connect channel once the request is completed. | Yes |
acceptAuthAddress | boolean | Pass true to accept an auth address signature in addition to a custody address signature. | No |
Returns
| Parameter | Description |
|---|---|
data | Parsed SIWF message, as a SiweMessage object. |
success | True if the provided signature is valid. |
fid | FID of the user. |
isError | True when an error has occurred. |
error | Error instance. |

