DeFi Positions
View your DeFi positions across AAVE, Morpho, and Hyperliquid, and browse available vaults.
Browse available vaults and pools
List all active DeFi vaults/pools across providers:
Filter by provider using the provider query parameter:
| Provider | Endpoint |
|---|---|
| All | GET /v1.2/safes/vaults |
| Aave | GET /v1.2/safes/vaults?provider=AAVE |
| Morpho | GET /v1.2/safes/vaults?provider=MORPHO |
| Hyperliquid | GET /v1.2/safes/vaults?provider=HYPERLIQUID |
Each entry contains: provider, poolAddress, name, assetTicker, apy, tvl, isDefault, metadata (provider-specific), and linked tokens (supplyToken, borrowToken, poolToken).
View your positions
After depositing into any DeFi protocol, retrieve your positions:
Optional query: includeZero=true to include providers with no active position.
Response structure:
All three providers are queried in parallel. Each provider uses a different data source:
| Provider | Data source | Method tag |
|---|---|---|
| AAVE | On-chain RPC: scaledBalanceOf + liquidity index + getReserveData | AAVE_INDEX |
| Morpho | On-chain RPC: ERC-4626 balanceOf + convertToAssets | MORPHO_ERC4626 |
| Hyperliquid | Hyperliquid API: POST /info with vaultDetails + user | HYPERLIQUID_API |
Real-time catalog updates
Subscribe to WebSocket events to get notified when vault catalog changes (APY shifts, new vaults):
The pool_catalog_update event is broadcast to all authenticated WebSocket clients when significant changes are detected. Refresh your catalog via GET /v1.2/safes/vaults when received.
See the WebSocket documentation for connection details.