Wallets
POST/v1/spending-wallets

Create spending wallet

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/spending-wallets" \  -H "Cookie: <console session cookie>" \  -H "Content-Type: application/json" \  -d '{"agent_id":"agt_01jd2x3k4m5n6p7q8r9s0t1v2w","network":"eip155:84532"}'

Creates an agent's spending wallet on one EVM or Tron test network, or returns the existing one. Console session or API key with wallet:connect; Solana and networks off by decision are refused.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/spending-walletsBase 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
agent_id*Agent Id

Agent id (agt_...).

network*Network

Network as a CAIP-2 id, for example eip155:84532 (Base Sepolia) or solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 (Solana devnet).

Response Body

Success.

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