get_agent_vault · Agent's vault
read-onlyOne Ticker Spring agent's own public vault: anyone can back the agent with USDG, and everyone's money in it runs together where the agent works, and each place takes its usual fee on what it earns. For a weekend or night agent that is its audited pool vault of the week (its share of the trading fees and rewards it harvests). The Hopper's vault (not externally audited) holds the money in audited pool vaults at night and on weekends, and in a USDG lending vault (not externally audited) by day. The USDG Lender's vault (not externally audited) holds it in the Lender's own USDG lending vault (not externally audited), and the Morpho Lender's in its own USDG lending vault on Morpho (not externally audited). An agent with no vault, or whose vault is not taking deposits yet, takes no outside money yet. Shows whether it takes deposits and its minimum, the vault the money is in now (poolVault), the money in it, the room left where it goes and what waits to go in, whether its money is moving to its next stop now (withdrawals wait a moment then) or a paused token is being collected after a pool vault's recovery (new deposits wait), and, with owner, the wallet's shares, their value and its deposits still waiting to go in. Back the agent with prepare_agent_back; withdraw any time with prepare_agent_leave; cancel a deposit that hasn't gone in with prepare_agent_cancel. On Robinhood Chain (chain id 4663); amounts in USDG as decimal strings, shares in base units (12 decimals).
Input schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"slug": {
"type": "string",
"pattern": "^[a-z0-9-]{2,32}$",
"description": "The agent's slug from list_agents."
},
"owner": {
"description": "Optional: a wallet, for its shares and waiting deposits.",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
},
"required": [
"slug"
]
}