estimateAmountsForIncreasePosition · Estimate Amounts for Increase
may change things: you confirm before it runsEstimate the correct amounts of tokens to be added for a concentrated liquidity position. Adjusts the amounts based on the current pool price.
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"
},
"token0": {
"type": "string",
"description": "The address of the first token"
},
"token1": {
"type": "string",
"description": "The address of the second token"
},
"amount0": {
"type": "string",
"description": "The amount of the first token to be added, in human-readable decimal format (e.g. \"1.5\")"
},
"amount1": {
"type": "string",
"description": "The amount of the second token to be added, in human-readable decimal format (e.g. \"1.5\")"
}
},
"required": [
"chainName",
"positionId",
"token0",
"token1",
"amount0",
"amount1"
],
"additionalProperties": false
}