tapp_remove_single_stable_liquidity
Removes liquidity from a single STABLE pool 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 STABLE position
Input Schema
Name | Required | Description | Default |
---|---|---|---|
poolId | Yes | The ID of the stable pool | |
position | Yes | The position object |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"poolId": {
"description": "The ID of the stable pool",
"type": "string"
},
"position": {
"additionalProperties": false,
"description": "The position object",
"properties": {
"amounts": {
"description": "The minimum token amounts to receive",
"items": {
"type": "number"
},
"type": "array"
},
"mintedShare": {
"description": "The amount of share tokens to burn",
"type": "number"
},
"positionAddr": {
"description": "The address of the individual liquidity position",
"type": "string"
}
},
"required": [
"positionAddr",
"mintedShare",
"amounts"
],
"type": "object"
}
},
"required": [
"poolId",
"position"
],
"type": "object"
}