remove_liquidity_txn
Build an unsigned Nomadex pool transaction that burns LP tokens to remove liquidity and returns base64-encoded transactions for signing.
Instructions
Build unsigned transactions to remove liquidity from a Nomadex 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": {
"poolAppId": "<poolAppId>",
"lpAmount": "<lpAmount>",
"sender": "<sender>"
},
"name": "remove_liquidity_txn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | Sender wallet address | |
| lpAmount | Yes | Amount of LP tokens to burn in human-readable units | |
| poolAppId | Yes | Pool application ID |