prepare-cl-create-position
Generate a transaction to create a new concentrated liquidity (CL) position on Osmosis. Specify pool ID, sender address, tick bounds, tokens provided, and minimum token amounts for setup.
Instructions
Prepares a transaction to create a new CL position
Input Schema
Name | Required | Description | Default |
---|---|---|---|
lowerTick | Yes | Lower tick bound for the position | |
poolId | Yes | The CL pool ID | |
sender | Yes | The sender's Osmosis address | |
tokenMinAmount0 | Yes | Minimum amount of token0 to use | |
tokenMinAmount1 | Yes | Minimum amount of token1 to use | |
tokensProvided | Yes | Tokens to provide as liquidity | |
upperTick | Yes | Upper tick bound for the position |
Input Schema (JSON Schema)
{
"properties": {
"lowerTick": {
"description": "Lower tick bound for the position",
"type": "number"
},
"poolId": {
"description": "The CL pool ID",
"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"
},
"tokensProvided": {
"description": "Tokens to provide as liquidity",
"items": {
"properties": {
"amount": {
"description": "Amount to provide",
"type": "string"
},
"denom": {
"description": "Token denomination",
"type": "string"
}
},
"required": [
"denom",
"amount"
],
"type": "object"
},
"type": "array"
},
"upperTick": {
"description": "Upper tick bound for the position",
"type": "number"
}
},
"required": [
"poolId",
"sender",
"lowerTick",
"upperTick",
"tokensProvided",
"tokenMinAmount0",
"tokenMinAmount1"
],
"type": "object"
}