{ "accounts": [{ "address": "0x1234567890123456789012345678901234567890", "capabilities": { "signInWithEthereum": { "message": "localhost:3000 wants you to sign in with your Ethereum account:\n0x1234567890123456789012345678901234567890\n\nSign in with Ethereum to the app.\n\nURI: http://localhost:3000\nVersion: 1\nChain ID: 8453\nNonce: abc123def456\nIssued At: 2024-01-15T10:30:00Z", "signature": "0x1234567890abcdef..." } } }], "chainId": "0x2105", "isConnected": true}
Capabilities
signInWithEthereum
Enable secure authentication using the Sign-In With Ethereum (SIWE) standard
{ "accounts": [{ "address": "0x1234567890123456789012345678901234567890", "capabilities": { "signInWithEthereum": { "message": "localhost:3000 wants you to sign in with your Ethereum account:\n0x1234567890123456789012345678901234567890\n\nSign in with Ethereum to the app.\n\nURI: http://localhost:3000\nVersion: 1\nChain ID: 8453\nNonce: abc123def456\nIssued At: 2024-01-15T10:30:00Z", "signature": "0x1234567890abcdef..." } } }], "chainId": "0x2105", "isConnected": true}
The signInWithEthereum capability enables secure user authentication following the SIWE (Sign-In With Ethereum) standard. This capability is only available with the wallet_connect method and provides a standardized way to authenticate users with their Ethereum accounts.
{ "accounts": [{ "address": "0x1234567890123456789012345678901234567890", "capabilities": { "signInWithEthereum": { "message": "localhost:3000 wants you to sign in with your Ethereum account:\n0x1234567890123456789012345678901234567890\n\nSign in with Ethereum to the app.\n\nURI: http://localhost:3000\nVersion: 1\nChain ID: 8453\nNonce: abc123def456\nIssued At: 2024-01-15T10:30:00Z", "signature": "0x1234567890abcdef..." } } }], "chainId": "0x2105", "isConnected": true}