sideswap_peg_in
Initiate a BTC-to-L-BTC peg-in: generate a Bitcoin deposit address, send BTC, wait for confirmations, and receive L-BTC in the Liquid wallet—useful for larger amounts at a lower fee.
Instructions
Initiate a SideSwap peg-in (BTC → L-BTC). Returns a Bitcoin deposit address; the user (or btc_send) must send BTC to it. After 2 BTC confirmations (~20 min hot path; up to ~17 hours cold path for very large amounts), L-BTC arrives in the Liquid wallet. Recommended over a swap-market trade for amounts ≥ ~0.01 BTC: lower fee (0.1% vs 0.2%) at the cost of waiting. ALWAYS call sideswap_recommend first for large amounts so the user understands the trade-off.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sideswap_peg_in"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | No | Password to decrypt mnemonic (if encrypted at rest) | |
| wallet_name | No | Liquid wallet to receive L-BTC | default |
| password_file | No | Path to a local file containing the wallet password; keeps the password out of the conversation. Do not combine with password. |