Aqua0
API ReferenceVaults

Check whether an LP can lock liquidity into a vault

Reports whether an LP can lock liquidity into an asset vault, and if not, why (e.g. the vault is paused or not deployed), plus the maximum lockable amount and any gates. Locking is permissionless, so this lets the UI disable the button with a reason instead of paying gas to discover a revert. Path parameters: chainId, asset (address or symbol), lp (LP address), all required. Query parameter: amount (optional integer to check a specific size).

GET
/api/vaults/{chainId}/{asset}/deposit-eligibility/{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

amount?string

Optional. Checks eligibility for a specific deposit size, in the asset's smallest unit (e.g. wei for an 18-decimal token).

Response Body

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