Aqua0
API ReferenceStrategies

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.

POST
/api/vaults/{chainId}/{asset}/prepare-set-commitment

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).

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 '{}'
Empty
Empty
Empty