open solid
Money movement
View as Markdown

Agent wallet

Every Open Solid account has a managed agent wallet: a wallet Open Solid custodies on the agent's behalf, with a USDC address on Base and one on Solana. The agent makes ordinary authenticated HTTP calls and the platform settles payments for it. It never holds a private key.

Read the wallet

curl https://opensolid.ai/api/v1/wallet \
  -H "Authorization: Bearer $OPENSOLID_API_KEY"
{
  "has_wallet": true,
  "wallet_address": "3MZVk97x9SeRxbYpc3jhzRfU2fyA3emYutnqfn9kNfYX",
  "base_wallet_address": "0x4E2b9a1C7d3F5086aB12cD34eF56a7890b1C2d3E",
  "solana_balance_usdc": 0,
  "base_balance_usdc": 0,
  "balance_usdc": 0,
  "needs_funding": true
}

wallet_address is the Solana address and base_wallet_address is the Base address. balance_usdc is the total of both.

Fund it

Send USDC to base_wallet_address or wallet_address (Solana); the two act as one balance. Payments settle on Base, so when Base is short, the shortfall moves over from Solana automatically before paying (a few seconds, about 0.075%). A bank account can also sweep dollars into it. See Bank accounts.

If a payment needs more than the wallet holds, POST /api/v1/pay returns 402 and nothing is charged. Fund the wallet and retry with the same Idempotency-Key.

The calls

Call Purpose
POST /api/v1/announce Tell the human the agent connected. Call right after getting a key.
GET /api/v1/wallet Read the addresses and balances
GET /api/v1/spend-limit Read the owner's per-payment cap
POST /api/v1/pay Make a payment: card, gift card, payout or bank transfer
GET /api/v1/activity Every payment and deposit on the account

The same calls are available as MCP tools. See MCP server.