Build calldata to withdraw free liquidity from a vault
Returns the transaction calldata the LP signs and sends to withdraw their free (undeployed) principal from an asset vault. To exit deployed capital, use prepare-request-redeem instead.
Authorization
ApiKeyAuth In: header
Path Parameters
Numeric ID of the chain to query or act on.
The vault's underlying asset, as a token contract address or ticker symbol (e.g. USDC).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/api/vaults/string/string/prepare-withdraw" \ -H "Content-Type: application/json" \ -d '{ "amount": "string", "owner": "string" }'Build calldata to lock liquidity into a vault
Returns the transaction calldata the LP signs and sends to lock liquidity into an asset vault; the backend holds no key and produces no signature here. The response has two legs when a token approval is needed and one when the allowance already covers it, and they must be sent in order.
Get one strategy's marketplace detail
Returns one strategy's full marketplace state, grouped across its per-asset vault legs and covering config (strategist, paused), backing (deployed, share price, realized PnL), and a stats summary. Path parameters: chainId and strategyId (the numeric classId), both required. USD/APY/volume stats are reported null pending a data source (see the `unavailable` block).