Sign SIWE
sign_siweValidate an EIP-4361 SIWE message and initiate a WalletChan personal_sign request for the exact message, enabling protocol login signing.
Instructions
Validate an EIP-4361 SIWE message, then start a WalletChan personal_sign request for the exact message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | SIWE URI, used only when message is omitted. | |
| chain | No | Optional chain name or ID. Must match the SIWE Chain ID when provided. | |
| nonce | No | SIWE nonce, used only when message is omitted. | |
| domain | No | SIWE domain, used only when message is omitted. | |
| address | No | Optional signer address. Must match the SIWE message address when message is provided. | |
| chainId | No | SIWE Chain ID, used only when message is omitted. | |
| message | No | Exact SIWE message to sign. Preferred when returned by a protocol login_start tool. | |
| version | No | SIWE version. Defaults to 1 when message is omitted. | |
| issuedAt | No | SIWE issued-at timestamp, used only when message is omitted. | |
| notBefore | No | Optional SIWE not-before timestamp. | |
| requestId | No | Optional SIWE request ID. | |
| resources | No | Optional SIWE resource URIs. | |
| statement | No | Optional SIWE statement. | |
| walletAddress | No | Alias for address. | |
| expirationTime | No | Optional SIWE expiration timestamp. |