remove_liquidity_txn
Build an unsigned Humble Swap transaction to remove liquidity by burning LP tokens, returning base64-encoded data for wallet signing.
Instructions
Build unsigned transactions to remove liquidity from 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>",
"lpAmount": "<lpAmount>",
"sender": "<sender>"
},
"name": "remove_liquidity_txn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolId | Yes | Pool application ID | |
| sender | Yes | Sender wallet address | |
| lpAmount | Yes | Amount of LP tokens to burn in human-readable units |