add_liquidity_txn
Build unsigned transactions to add liquidity to a Tinyman v2 pool on Algorand, returning base64-encoded transactions for signing.
Instructions
Build unsigned transactions to add liquidity to a Tinyman v2 pool on Algorand. 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": {
"asset1Id": "<asset1Id>",
"asset2Id": "<asset2Id>",
"amount1": "<amount1>",
"amount2": "<amount2>",
"sender": "<sender>"
},
"name": "add_liquidity_txn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | Sender wallet address | |
| amount1 | Yes | Amount of first asset in human-readable units | |
| amount2 | Yes | Amount of second asset in human-readable units | |
| asset1Id | Yes | First asset ID (use 0 for ALGO) | |
| asset2Id | Yes | Second asset ID | |
| slippage | No | Allowed slippage percentage (default 0.5) |