sideswap_peg_in
Convert Bitcoin to Liquid Bitcoin via a peg-in. Send BTC to a deposit address; after 2 confirmations, L-BTC arrives in your Liquid wallet. Lower fees for amounts ≥0.01 BTC.
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.
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 |