Actions53
- Account Actions
- Block Actions
- Transaction Actions
- Contract Actions
- ERC20 Actions
- ERC721 Actions
- ERC1155 Actions
- Gas Actions
- Signature Actions
- Utils Actions
- Custom RPC Actions
Signature → Sign SIWE Message
AI-generatedSummary
Sign a SIWE message
Inputs
- siweDomain (required) — The domain requesting the signature
- siweStatement — Human-readable statement
- siweUri (required) — URI of the requesting application
- siweNonce — Random nonce for replay protection
Output shape
string
Returns the signed SIWE message; typically includes a signature field alongside the original message
Examples
Example 1: User signs a login request
Domain: example.com; Statement: Sign in to Example; URI: https://app.example.com; Nonce: random-nonce-123
Example 2: Session token acquisition
Domain: myapp.io; URI: https://auth.myapp.io; Nonce: 20230901-abc
Example 3: Custom application flow
Domain: api.service.com; Statement: Access user profile; URI: https://api.service.com/v1/profile; Nonce: generated-nonce