intentDecreaseLiquidity
Reduce liquidity from a Uniswap V3 position by specifying token ID, liquidity amount, chain ID, and optional parameters like slippage tolerance and deadline.
Instructions
Removes liquidity from a Uniswap V3 position
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chainId | Yes | ||
deadline | No | ||
liquidity | Yes | ||
slippageTolerance | No | ||
tokenId | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"chainId": {
"type": "number"
},
"deadline": {
"type": "number"
},
"liquidity": {
"type": "string"
},
"slippageTolerance": {
"default": 0.5,
"type": "number"
},
"tokenId": {
"type": "string"
}
},
"required": [
"tokenId",
"liquidity",
"chainId"
],
"type": "object"
}