Wallets
POST/v1/wallets/connect

Connect wallet

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

Verifies the signed Sign In With Solana message and stores the wallet connection. Console session or API key with wallet:connect; the nonce is used once.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/wallets/connectBase 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?string|null
message?string|null
signature?string|null
wallet_name?string|null
use_demo_wallet?Use Demo Wallet
Defaultfalse

Response Body

Success.

application/json
  1. response
connection*
[key: string]?any