tapp_remove_single_clmm_liquidity
Remove liquidity from a single CLMM position on Tapp Exchange. Specify the pool ID, position address, share tokens to burn, and minimum token amounts to withdraw.
Instructions
Remove liquidity from a single CLMM position
Input Schema
Name | Required | Description | Default |
---|---|---|---|
minAmount0 | Yes | Minimum amount of token0 | |
minAmount1 | Yes | Minimum amount of token1 | |
mintedShare | Yes | The amount of share tokens to burn | |
poolId | Yes | The ID of the CLMM pool | |
positionAddr | Yes | The address of the liquidity position |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"minAmount0": {
"description": "Minimum amount of token0",
"type": "number"
},
"minAmount1": {
"description": "Minimum amount of token1",
"type": "number"
},
"mintedShare": {
"description": "The amount of share tokens to burn",
"type": "number"
},
"poolId": {
"description": "The ID of the CLMM pool",
"type": "string"
},
"positionAddr": {
"description": "The address of the liquidity position",
"type": "string"
}
},
"required": [
"poolId",
"positionAddr",
"mintedShare",
"minAmount0",
"minAmount1"
],
"type": "object"
}