# Get treasury

Returns the simulated Treasury: funds in connected wallets, idle and swept balances, positions and a yield projection at a fixed 4.20% APY. Simulated: no funds move. Requires ledger:read.

`GET /v1/treasury`

Returns the simulated Treasury: funds in connected wallets, idle and swept balances, positions and a yield projection at a fixed 4.20% APY. Simulated: no funds move. Requires ledger:read.

Requires permission `ledger:read`.

## Responses

- **200**: Success.
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **403**: Authenticated but not allowed: missing permission, passkey step-up required, or denied by policy.

Example 200 response:

```json
{
  "simulated": true,
  "apy_bps": 420,
  "funds": {
    "base_units": "6250000",
    "display": "6.25 USDC",
    "simulated": true
  },
  "idle_balance": {
    "base_units": "5250000",
    "display": "5.25 USDC",
    "simulated": true
  },
  "swept_balance": {
    "base_units": "1000000",
    "display": "1.00 USDC",
    "simulated": true
  },
  "wallets": [
    {
      "network": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
      "address": "HaKP9zEyKMCqBNfXefRo7aVeyeLsj2HnAXd6LUMyBLhG",
      "balance": {
        "base_units": "6250000",
        "display": "6.25 USDC",
        "simulated": true
      },
      "mock_chain": true
    }
  ],
  "projection": {
    "idle_if_swept": {
      "daily": {
        "base_units": "604",
        "display": "0.000604 USDC",
        "simulated": true
      },
      "monthly": {
        "base_units": "18375",
        "display": "0.018375 USDC",
        "simulated": true
      },
      "annual": {
        "base_units": "220500",
        "display": "0.2205 USDC",
        "simulated": true
      }
    },
    "positions": {
      "daily": {
        "base_units": "115",
        "display": "0.000115 USDC",
        "simulated": true
      },
      "monthly": {
        "base_units": "3500",
        "display": "0.0035 USDC",
        "simulated": true
      },
      "annual": {
        "base_units": "42000",
        "display": "0.042 USDC",
        "simulated": true
      }
    }
  },
  "positions": [
    {
      "id": "tps_01m7dp1a5gz59cwb818bmfxd2j",
      "amount": {
        "base_units": "1000000",
        "display": "1.00 USDC",
        "simulated": true
      },
      "apy_bps": 420,
      "status": "active",
      "simulated": true,
      "created_at": "2026-11-14T18:45:07.377042Z"
    }
  ]
}
```
