Build calldata to back or leave a strategy
Returns the calldata to change whether an LP's liquidity backs a strategy. Setting `backing` to false is how an LP leaves a strategy, as there is no separate uncommit call.
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-set-commitment" \ -H "Content-Type: application/json" \ -d '{}'Build calldata to redeem a strategy's counter-asset leg
Returns the calldata to redeem the counter-asset portion of a cross-asset strategy position (here the asset is the counter-asset vault, not the one originally locked).
Build calldata to redeem a strategy's counter-asset leg
Returns the calldata to redeem the counter-asset portion of a cross-asset strategy position (here the asset is the counter-asset vault, not the one originally locked).