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.
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 or 1151111081099710 for Solana. GET /api/vaults/chains lists them.
Query Parameters
The LP's wallet: a 0x address, or a base58 address on Solana. Without it on an EVM chain, the wallet of the request's caller token is read.
Response Body
application/json
application/json
curl -X GET "https://example.com/api/vaults/lp/earnings/1"{ "wallet": "0x1111111111111111111111111111111111111111", "chainId": 8453, "earnedToDate": [ { "venueKind": "v4", "venue": { "program": "0x5Aef2c787AFC743D20FD632D66391B2ccd5c68C0", "name": "Uniswap V4", "logo": "/venue/uniswap.svg" }, "vault": "0xb367A4306087d3981B38C032464cD7E3A7a03A4E", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "amount": "2991", "swaps": 3 } ], "complete": true}{ "error": "string", "code": "string", "message": "string", "details": {}, "requestId": "string"}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.
List an LP's fronts as filler
Returns the cross-chain fronts an LP's wallet filled on the destination chain, most recently updated first.