prepare-cl-add-liquidity
Generates a transaction to increase liquidity in a concentrated liquidity position on Osmosis, specifying token amounts and minimum thresholds for precise allocation.
Instructions
Prepares a transaction to add liquidity to an existing CL position
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount0 | Yes | Amount of token0 to add | |
amount1 | Yes | Amount of token1 to add | |
positionId | Yes | The position ID to add liquidity to | |
sender | Yes | The sender's Osmosis address | |
tokenMinAmount0 | Yes | Minimum amount of token0 to use | |
tokenMinAmount1 | Yes | Minimum amount of token1 to use |
Input Schema (JSON Schema)
{
"properties": {
"amount0": {
"description": "Amount of token0 to add",
"type": "string"
},
"amount1": {
"description": "Amount of token1 to add",
"type": "string"
},
"positionId": {
"description": "The position ID to add liquidity to",
"type": "string"
},
"sender": {
"description": "The sender's Osmosis address",
"type": "string"
},
"tokenMinAmount0": {
"description": "Minimum amount of token0 to use",
"type": "string"
},
"tokenMinAmount1": {
"description": "Minimum amount of token1 to use",
"type": "string"
}
},
"required": [
"positionId",
"sender",
"amount0",
"amount1",
"tokenMinAmount0",
"tokenMinAmount1"
],
"type": "object"
}