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.
Authorization
ApiKeyAuth 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
The chain's numeric id, for example 8453 for Base. GET /api/vaults/chains lists them.
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"}Get an LP's refused destination chains
Returns the destination chains the LP has refused to front to from this chain, where none means any chain may be chosen. Prove the wallet with the app's caller token or its signature of `ReadFrontingConsent(address wallet,bytes32 nonce,uint256 expiry)`.
Get an LP's swap fee earnings on a chain
Returns the swap fees an LP's wallet has earned to date on one chain, per venue and asset vault. Earnings are already part of the LP's principal, not a separate balance.