Vaults
Check whether an LP can deposit
Returns whether the LP can deposit into an asset vault now, the reason if not, and the most it can deposit.
Authorization
ApiKeyAuth X-API-Key<token>
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
chainId*integer
The chain's numeric id, for example 8453 for Base. GET /api/vaults/chains lists them.
asset*string
The asset vault's token, as a contract address. A symbol is refused.
lp*string
The liquidity provider's wallet address.
Query Parameters
amount?string
Checks a deposit of this size, in the token's smallest unit.
Response Body
application/json
curl -X GET "https://example.com/api/vaults/1/string/deposit-eligibility/string"{ "eligible": true, "reason": null, "message": null, "maxDepositable": "998547690000", "gates": { "paused": false }, "globalCap": { "capUsd": 1000000, "usedUsd": 1452.31, "remainingUsd": 998547.69 }, "vault": "0xb367A4306087d3981B38C032464cD7E3A7a03A4E"}