decreaseLiquidity · Decrease Liquidity
may change things: you confirm before it runsDecrease the liquidity of already created concentrated liquidity position
Input schema
{
"type": "object",
"properties": {
"chainName": {
"type": "string",
"enum": [
"bsc",
"ethereum",
"arbitrum",
"base",
"optimism",
"polygon",
"avalanche",
"plasma",
"hyperevm",
"monad",
"robinhood"
],
"description": "The chain where the operation takes place"
},
"positionId": {
"type": "string",
"description": "The id of the position"
},
"liquidityPercentage": {
"type": "number",
"description": "The percentage of the liquidity to decrease. Should be between 0 and 100"
},
"userAddress": {
"type": "string",
"description": "The wallet address of the user"
}
},
"required": [
"chainName",
"positionId",
"liquidityPercentage",
"userAddress"
],
"additionalProperties": false
}