styx_deposit
Deposit BTC for sBTC via Styx by reserving liquidity, building and signing a PSBT, broadcasting it, and updating status; requires an unlocked wallet with BTC.
Instructions
Full headless BTC→sBTC deposit via the Styx protocol. Flow: reserve pool liquidity → build PSBT locally → sign with wallet keys → broadcast to mempool.space → update deposit status. Requires an unlocked wallet with sufficient BTC balance. On mainnet, ordinal UTXOs are automatically filtered out to protect inscriptions. Minimum deposit: 10,000 sats. Pool limits: main=300k sats, aibtc=1M sats.
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | Fee priority: "low", "medium", or "high". Defaults to "medium". | |
| pool | No | Pool ID: "main" or "aibtc". Defaults to "main". | |
| amount | Yes | Amount to deposit in satoshis (min 10000). Example: 50000 | |
| btcSender | No | BTC address sending funds. Must match the active wallet's BTC address. Uses active wallet if omitted. | |
| stxReceiver | No | Stacks address to receive sBTC. Uses active wallet address if omitted. |