sbtc_initiate_withdrawal
Initiates an sBTC peg-out to a Bitcoin L1 address by locking the requested amount and max signer fee, then creating a withdrawal request for signers to process and send BTC.
Instructions
Initiate an sBTC peg-out to a Bitcoin L1 address.
Locks (amount + maxFee) of sBTC in the sBTC protocol and creates a withdrawal request. Signers later process the request and send BTC on L1.
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | Optional fee: 'low' | 'medium' | 'high' preset or micro-STX amount. | |
| amount | Yes | Amount to withdraw in satoshis | |
| maxFee | No | Maximum signer fee in satoshis | |
| sponsored | No | Use sponsored transaction relay so a relay service pays fees instead of your wallet. Requires SPONSOR_API_KEY env var or wallet-level sponsorApiKey. | |
| btcRecipientAddress | Yes | Bitcoin recipient address (P2PKH/P2SH/P2WPKH/P2WSH/P2TR) |