Request a wallet ownership challenge
Authorizations
OAuth 2.0 authorization and token endpoints
Body
Wallet ownership challenge params
Creates a wallet ownership challenge. Two modes are supported:
- plain (default): produces a random nonce. Only
wallet_addressandchainare required.domain,uri, andstatementmust not be provided. - siwe: produces an EIP-4361 Sign-In with Ethereum message. Requires
domain,uri, andstatementin addition towallet_addressandchain. Only supported for EVM chains.
The blockchain network the wallet belongs to. EVM chains (e.g. ethereum_sepolia) support both plain and SIWE challenges. Non-EVM chains (e.g. solana_devnet) support plain challenges only.
ethereum_sepolia, base_sepolia, solana_devnet, ethereum_mainnet, base_mainnet, solana_mainnet "ethereum_sepolia"
The wallet address to prove ownership of. For EVM chains, must be a valid 40-hex-digit Ethereum address (normalized to lowercase). For non-EVM chains, must not contain whitespace and is limited to 128 characters.
"0x742d35cc6634c0532925a3b844bc9e7595f0beb1"
The type of challenge to generate. plain (default) produces a random nonce. siwe produces an EIP-4361 message and requires domain, uri, and statement.
plain, siwe "plain"
Required when challenge_type is siwe; must not be provided for plain challenges. The hostname of the requesting service. Must be a valid hostname (e.g. example.com or app.example.com:3000).
"example.com"
Required when challenge_type is siwe; must not be provided for plain challenges. A human-readable message the user is agreeing to. Must not contain newlines. Maximum 256 characters.
256"Sign in with Ethereum"
Required when challenge_type is siwe; must not be provided for plain challenges. The URI of the resource being accessed. Must be a valid URI with scheme and host.
"https://example.com/login"