createSingleSidePosition · Create Single Side Position
may change things: you confirm before it runsCreate a new concentrated liquidity position on a single side of the current pool price. Uses for buying or selling a token in current pool. If you want to sell token with price ranges in USD, use the estimateRangesForSellingUsdSingleSide tool first. If you want to buy token with price ranges in USD, use the estimateRangesForBuyingUsdSingleSide tool first.
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"
},
"token0": {
"type": "string",
"description": "The address of the first token"
},
"token1": {
"type": "string",
"description": "The address of the second token"
},
"tokenIn": {
"type": "string",
"description": "The address of the token to be deposited"
},
"amountIn": {
"type": "string",
"description": "The amount of the token to be deposited in human-readable decimal format (e.g. \"1.5\"). Set to \"-1\" string if you want to use all the balance."
},
"fee": {
"type": "number",
"description": "The fee percentage for the pool. 1000000 is 100%. Example user input - 1%, must be converted to 10000, 0.3% to 3000. Set to -1 if you want to use the default fee"
},
"priceLower": {
"type": "string",
"description": "The price to sell or buy the token in lower range, in human-readable decimal format. Set to \"-1\" string if price will setup automatically just near the current pool price"
},
"priceUpper": {
"type": "string",
"description": "The price to sell or buy the token in upper range, in human-readable decimal format. Set to \"-1\" string if there is only one price"
},
"userAddress": {
"type": "string",
"description": "The wallet address of the user"
}
},
"required": [
"chainName",
"token0",
"token1",
"tokenIn",
"amountIn",
"fee",
"priceLower",
"priceUpper",
"userAddress"
],
"additionalProperties": false
}