tapp_add_amm_liquidity
Add liquidity to an AMM pool by specifying the pool ID and amounts of token A and token B. Facilitates enhanced liquidity provision on Tapp Exchange via the Aptos blockchain.
Instructions
Add liquidity to an existing AMM pool
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amountA | Yes | The amount of token A to add as liquidity | |
amountB | Yes | The amount of token B to add as liquidity | |
poolId | Yes | The ID of the AMM pool |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"amountA": {
"description": "The amount of token A to add as liquidity",
"type": "number"
},
"amountB": {
"description": "The amount of token B to add as liquidity",
"type": "number"
},
"poolId": {
"description": "The ID of the AMM pool",
"type": "string"
}
},
"required": [
"poolId",
"amountA",
"amountB"
],
"type": "object"
}