tapp_create_clmm_pool_and_add_liquidity
Create a CLMM pool on Tapp Exchange, define trading fees, and add initial liquidity with specified token amounts, price range, and initial price.
Instructions
Create a CLMM pool and add initial liquidity
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amounts | Yes | The initial token amounts | |
fee | Yes | The fee traders will pay to use your pool's liquidity | |
initialPrice | Yes | Starting price for liquidity | |
isMaxAmountB | Yes | Whether the second token amount (amountB) is flexible based on slippage | |
maxPrice | Yes | The upper bound price of the liquidity range | |
minPrice | Yes | The lower bound price of the liquidity range | |
tokenAddress | Yes | An array of token addresses |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"amounts": {
"description": "The initial token amounts",
"items": {
"type": "number"
},
"type": "array"
},
"fee": {
"description": "The fee traders will pay to use your pool's liquidity",
"type": "number"
},
"initialPrice": {
"description": "Starting price for liquidity",
"type": "number"
},
"isMaxAmountB": {
"description": "Whether the second token amount (amountB) is flexible based on slippage",
"type": "boolean"
},
"maxPrice": {
"description": "The upper bound price of the liquidity range",
"type": "number"
},
"minPrice": {
"description": "The lower bound price of the liquidity range",
"type": "number"
},
"tokenAddress": {
"description": "An array of token addresses",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tokenAddress",
"fee",
"amounts",
"initialPrice",
"minPrice",
"maxPrice",
"isMaxAmountB"
],
"type": "object"
}