Aqua0
API ReferenceVaults

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. Path parameters: chainId, asset (address or symbol), lp (LP address), all required. Query parameter: reconcile (optional, defaults to true; set false to skip the on-chain read).

GET
/api/vaults/positions/{chainId}/{asset}/{lp}

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Path Parameters

chainId*string

Numeric ID of the chain to query or act on.

asset*string

The vault's underlying asset, as a token contract address or ticker symbol (e.g. USDC).

lp*string

The liquidity provider's wallet address.

Query Parameters

reconcile?boolean

Optional, defaults to true. When true, the indexed free-principal balance is cross-checked against a live on-chain read, and set to false to skip the extra read.

Response Body

curl -X GET "https://example.com/api/vaults/positions/string/string/string"
Empty