GET
/
v0
/
morpho
/
vault
from compass_api_sdk import CompassAPI, models


with CompassAPI(
    api_key_auth="<YOUR_API_KEY_HERE>",
) as compass_api:

    res = compass_api.morpho.vault(chain=models.MorphoVaultChain.ETHEREUM_MAINNET, vault_address="0xbEef047a543E45807105E51A8BBEFCc5950fcfBa")

    # Handle response
    print(res)
{
  "name": "<string>",
  "symbol": "<string>",
  "whitelisted": true,
  "state": {
    "apy": "<string>",
    "netApy": "<string>",
    "dailyApy": "<string>",
    "dailyNetApy": "<string>",
    "weeklyApy": "<string>",
    "weeklyNetApy": "<string>",
    "monthlyApy": "<string>",
    "monthlyNetApy": "<string>",
    "yearlyApy": "<string>",
    "yearlyNetApy": "<string>",
    "allTimeApy": "<string>",
    "allTimeNetApy": "<string>",
    "totalAssets": "<string>",
    "totalAssetsUsd": "<string>"
  },
  "liquidity": {
    "underlying": "<string>",
    "usd": "<string>"
  },
  "asset": {
    "address": "<string>",
    "symbol": "<string>",
    "name": "<string>",
    "decimals": 123,
    "priceUsd": "<string>",
    "logoURI": "<string>"
  },
  "metadata": {
    "description": "<string>",
    "image": "<string>",
    "forumLink": "<string>",
    "curators": [
      {
        "name": "<string>",
        "verified": true,
        "url": "<string>",
        "image": "<string>"
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

chain
enum<string>
default:ethereum:mainnet
required
Available options:
ethereum:mainnet,
base:mainnet
vault_address
string
default:0xbEef047a543E45807105E51A8BBEFCc5950fcfBa
required

The vault address of the desired vault data & metrics.

Response

200
application/json

Successful Response

The response is of type object.