sbtc_deposit
Deposit BTC to receive sBTC on Stacks L2 by building, signing, and broadcasting a Bitcoin transaction, with a Taproot reclaim path if the deposit fails.
Instructions
Deposit BTC to receive sBTC on Stacks L2.
This builds, signs, and broadcasts a Bitcoin transaction to the sBTC deposit address. After confirmation, sBTC tokens are minted to your Stacks address.
The transaction uses your wallet's Taproot address for the reclaim path. If the deposit fails, you can reclaim your BTC after the lock time expires.
By default, only uses cardinal UTXOs (safe to spend - no inscriptions). Set includeOrdinals=true to allow spending ordinal UTXOs (advanced users only).
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to deposit in satoshis (1 BTC = 100,000,000 satoshis) | |
| feeRate | No | Fee rate: 'fast' (~10 min), 'medium' (~30 min), 'slow' (~1 hr), or number in sat/vB | medium |
| maxSignerFee | No | Max fee the sBTC system can charge in satoshis (default: 80000 sats) | |
| includeOrdinals | No | Include ordinal UTXOs (contains inscriptions). Default: false (cardinal only). WARNING: Setting this to true may destroy valuable inscriptions! | |
| reclaimLockTime | No | Block height when reclaim becomes available if deposit fails (default: 950 blocks) |