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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in Satoshis to convert | |
| network | No | mainnet | |
| direction | Yes | Direction of conversion |