sideswap_recommend
Recommends the best method for BTC↔L-BTC conversion: peg (lower fee, slower) or instant swap, based on amount and liquidity.
Instructions
Recommend a peg vs an instant swap-market trade for a BTC ↔ L-BTC conversion. Surfaces the trade-off (lower fee but slower) and warns when the amount exceeds SideSwap's hot-wallet liquidity. ALWAYS call this for large conversions before initiating a peg.
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": {
"amount": "<amount>",
"direction": "<direction>"
},
"name": "sideswap_recommend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in Satoshis to convert | |
| network | No | mainnet | |
| direction | Yes | Direction of conversion |