tapp_remove_multiple_stable_liquidity
Remove liquidity from multiple stable pool positions on Tapp Exchange. Specify pool ID, position addresses, share tokens to burn, and minimum token amounts to receive for efficient withdrawal.
Instructions
Remove liquidity from multiple STABLE positions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
poolId | Yes | The ID of the stable pool | |
positions | Yes | An array of position objects |
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"
},
"positions": {
"description": "An array of position objects",
"items": {
"additionalProperties": false,
"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"
},
"type": "array"
}
},
"required": [
"poolId",
"positions"
],
"type": "object"
}