API ReferenceManaged Wallets
Build an unsigned funding tx for the agent to sign
Returns an unsigned base64 transaction that moves tokens from the agent's own wallet into the managed wallet. The agent signs and broadcasts it.
Authorization
ApiKey AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/agents/v1/wallets/f47ac10b-58cc-4372-a567-0e02b2c3d479/fund-intent" \ -H "Content-Type: application/json" \ -d '{ "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "amount": "1000000", "payerPubkey": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU" }'{
"tx": "AQAB...base64...",
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000000",
"to": "umbra1q9c0ffee7p3rh4z8x2v6m5k0n9d3w7s2a1b4c8e6f0g"
}{
"error": "missing_required_fields"
}Provision a managed Umbra wallet (Mode A)
Create a Solrouter-custodied Umbra wallet. The keypair is generated server-side and envelope-encrypted (AES-256-GCM) — the agent never holds private keys. Fund the returned `umbraAddress`, then run swaps and encrypted-balance operations against the wallet id.
Run a private swap from a managed wallet (Mode A)
Execute a private swap funded by a managed wallet's balance. Returns a session id to poll; no client-side signing needed.