Vaults
Get vault liquid strategy
Get liquid strategy details for a vault. Authentication is optional but required to view vaults with private organizations. Returns external ERC4626 vault positions with share balances and their underlying asset values. v3 vaults have no liquid strategy (idle capital is held directly), so they return an empty vaults array with liquidStrategyAddress set to the zero address and null totals.
get/v3/vaults/{id}/liquid-strategy
Request
- Base URL: https://api.creditcoop.xyz
- URL: https://api.creditcoop.xyz/v3/vaults/{id}/liquid-strategy
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://clerk.creditcoop.xyz/oauth/authorize, token URL https://clerk.creditcoop.xyz/oauth/token)
- none
Path parameters
idstring uuid required
Vault ID. Example: 550e8400-e29b-41d4-a716-446655440000
Query parameters
expandstring[]
Comma-separated list of fields to expand. Valid values: "apy" (fetches 30-day APY for each external vault from historical convertToAssets snapshots, and a weighted-average APY in totals).
Response
Default Response
Example response
{
"vaultId": "550e8400-e29b-41d4-a716-446655440000",
"vaultAddress": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"networkId": "eip155:1",
"liquidStrategyAddress": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"assetToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"vaults": [
{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.