Strategies

Fees each market earned for its LPs

Returns, for every market on a chain, the fees its LPs earned over the last 7 days and the backing committed to it over the same 7 days, per token in raw units.

GET
/api/vaults/fee-yield

Query Parameters

chainId*integer

The chain's numeric id, for example 8453 for Base. GET /api/vaults/chains lists them.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/vaults/fee-yield?chainId=8453"
{  "chainId": 8453,  "windowSeconds": 604800,  "asOf": 1793059200,  "markets": [    {      "strategyId": "38960560214548620419581884607967218229413556116830054641371650059665611327033",      "venue": "v4",      "backedFullWindow": true,      "sides": [        {          "asset": "0x4200000000000000000000000000000000000006",          "fees": "1250000000000000",          "backing": "16719015731379870000"        },        {          "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",          "fees": "4120000",          "backing": "48211758000"        }      ]    }  ]}
{  "error": "VALIDATION_ERROR",  "code": "VALIDATION_ERROR",  "message": "chain 1 is not a vault chain. Supported: 8453 (Base), 42161 (Arbitrum), 43114 (Avalanche), 42220 (Celo), 137 (Polygon), 143 (Monad), 4663 (Robinhood), 5042 (Arc).",  "requestId": "3f2b8c1e-7a4d-4e9b-b6c5-0d1e2f3a4b5c"}
{  "error": "SERVICE_UNAVAILABLE",  "code": "SERVICE_UNAVAILABLE",  "message": "This data is briefly unavailable. Try again shortly.",  "details": {    "retryAfterSeconds": 2  },  "requestId": "3f2b8c1e-7a4d-4e9b-b6c5-0d1e2f3a4b5c"}