add_liquidity_txn
Build unsigned transactions to add liquidity to a Humble Swap pool and return base64-encoded transactions for signing.
Instructions
Build unsigned transactions to add liquidity to a Humble Swap pool. Returns base64-encoded transactions for signing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"poolId": "<poolId>",
"amountA": "<amountA>",
"amountB": "<amountB>",
"sender": "<sender>"
},
"name": "add_liquidity_txn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolId | Yes | Pool application ID | |
| sender | Yes | Sender wallet address | |
| amountA | Yes | Amount of token A in human-readable units | |
| amountB | Yes | Amount of token B in human-readable units |