compute_vaults
On-chain figures for the USD.AI and GAIB compute vaults.
Call this for tokens outstanding, vault share price, and the trailing 90-day figure. trailing_90d_apy_percent annualizes the change in vault share price over the trailing window. It is not an issuer-quoted yield. loan_count and loan_balance_usd (US dollars) are present only when the loan book is read on-chain.
JSON: {"as_of", "vaults": [{id, name, tokens, share_price_symbol, tokens_outstanding_usd, share_price, trailing_90d_apy_percent, read_at, loan_count, loan_balance_usd}]}. Unknown id: {"error": "not_found", "query", "vaults": [ids]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | Vault id, usdai or gaib. Empty returns both. | |
| response_format | No | markdown (default) is a compact reading form. json is the object described below, with source numbers and omitted fields left out. | markdown |