Wallets
POST/v1/wallets/connect/challenge

Create wallet sign-in message

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/wallets/connect/challenge" \  -H "Cookie: <console session cookie>" \  -H "Content-Type: application/json" \  -d '{"address":"string"}'

Builds a Sign In With Solana message with a single-use nonce for the owner's wallet to sign. Console session or API key with wallet:connect.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/wallets/connect/challengeBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Body

application/json · required. Fields are listed under Request body below.

Requires permissionwallet:connect
Held by owner. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Request Body

application/json
  1. body
address*Address
wallet_name?string|null

Response Body

Success.

application/json
  1. response
message*Message
nonce*Nonce
statement*Statement
address*Address
domain?string|null
uri?string|null
issued_at?string|null
[key: string]?any