sideswap_peg_quote
Quote the receive amount and fees for a BTC ↔ L-BTC SideSwap peg before sending, returning send, receive, and fee amounts.
Instructions
Quote the receive amount for a SideSwap peg (BTC ↔ L-BTC) at current fees (0.1% + ~286 sats Liquid claim fee on peg-in). Returns send_amount, recv_amount, fee_amount.
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>"
},
"name": "sideswap_peg_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Send amount in Satoshis | |
| peg_in | No | True for BTC → L-BTC, False for L-BTC → BTC | |
| network | No | mainnet |