Build calldata to lock liquidity into a vault
Returns the transaction calldata the LP signs and sends to lock liquidity into an asset vault, holding no key and producing no signature. 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.
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 (0x-prefixed).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/vaults/string/string/prepare-deposit" \ -H "Content-Type: application/json" \ -d '{ "amount": "string", "owner": "string" }'{ "vault": "string", "calls": [ { "to": "string", "data": "string", "value": "string", "description": "string" } ], "requiresApproval": true, "sender": "string", "receiver": "string"}Build calldata to claim a fulfilled async redeem
Returns the calldata to claim the payout of an async redeem request once the composer has fulfilled it, the second step after prepare-request-redeem.
Build calldata to request an async redeem of deployed capital
Returns the calldata to open an ERC-7540 async redeem request, the exit for capital deployed into a strategy. It escrows the request, after which the composer strikes the price and prepare-claim-redeem pays out.