Get all of an LP's positions on a chain in one call (batched multicall)
Returns every vault position for one LP on one chain, each with its freePrincipal reconciled against the vault's own on-chain value. Use this instead of one call per vault.
Authorization
ApiKeyAuth In: header
Path Parameters
Numeric ID of the chain to query or act on.
The liquidity provider's wallet address.
Response Body
application/json
curl -X GET "https://example.com/api/vaults/positions/string/string"{ "positions": [ { "chainId": 0, "vault": "string", "lp": "string", "principal": "string", "credit": "string", "deployed": "string", "frontHeld": "string", "asyncHeld": "string", "realizedLossDeployLeg": "string", "realizedLossReturnLeg": "string", "freePrincipal": "string", "asset": "string", "possiblyStale": true } ], "fleetLive": true, "reconciliations": [ { "vault": "string", "matched": true, "onChainFreePrincipal": "string", "indexedFreePrincipal": "string", "driftAbs": "string" } ], "rpcDegraded": true, "indexerStaleness": { "lagSeconds": 0, "lagBlocks": 0, "indexedBlockNumber": "string", "chainHeadBlockNumber": "string", "stale": true, "thresholdSeconds": 0, "reason": "string" }}Get an LP's position in an asset vault
Returns an LP's full position in one asset vault as a set of buckets (free, deployed, locked) plus withdrawability, so the UI never offers a withdraw the vault would refuse. By default the free principal is reconciled against the vault's own on-chain value and both numbers are reported.
Get an LP's per-strategy backing in an asset vault
Returns, for one LP in one asset vault, the strategies it backs with per-strategy detail (amount deployed, fees accrued, shortfall charged).