LP

Get an LP's strategies and positions on a chain

Returns every strategy the LP backs or holds principal for on one chain, with its pair, the LP's capital in each asset vault and its committed positions. A figure that could not be read is left out, never reported as zero.

GET
/api/vaults/commitments/{chainId}/{lp}

Authorization

ApiKeyAuth
X-API-Key<token>

Your API key. Authorizing a swap or opening a market takes a key issued to your integration, and the shared key the docs fill in reads and quotes only.

In: header

Path Parameters

chainId*integer

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

lp*string

The liquidity provider's wallet address.

Response Body

application/json

application/json

curl -X GET "https://example.com/api/vaults/commitments/1/string"
{  "chainId": 8453,  "lp": "0x1111111111111111111111111111111111111111",  "positions": [    {      "strategyId": "38960560214548620419581884607967218229413556116830054641371650059665611327033",      "venue": "v4",      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",      "vault": "0xb367A4306087d3981B38C032464cD7E3A7a03A4E",      "position": 0,      "amount": "48211758",      "tickLower": -199140,      "tickUpper": -197100,      "held0": "16719015731379870",      "held1": "48211758"    }  ]}
{  "error": "string",  "code": "string",  "message": "string",  "details": {},  "requestId": "string"}