Create spending wallet
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.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Body
application/json · required. Fields are listed under Request body below.
owner. The caller must hold this permission, or the call is refused with 403.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
application/json- body
agent_id*Agent IdAgent id (agt_...).
network*NetworkNetwork as a CAIP-2 id, for example eip155:84532 (Base Sepolia) or solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 (Solana devnet).
Success.
application/json- response
wallet*funding*[key: string]?anyPOSTRevoke spending permission
Returns an unsigned SPL revoke transaction for the wallet to sign, or submits a signed one; an unsigned permission is cancelled at once. Console session or API key with delegation:sign.
POSTRefresh spending wallet
Reads the wallet's on-chain balance and marks it funded or empty. Console session or API key with payment:read.