atstake_merge_complete_set
Merge matched BONDED and IDLE share pairs into sBTC at par, unwinding only the hedged portion of a position while the market is open.
Instructions
Hand back a matched pair of shares and take the sBTC out: burns sats BONDED and sats IDLE, returns sats sBTC.
This is the exit at par, and the reason the two sides' prices sum to one. It needs both sides in equal measure, so it can only unwind the hedged part of a position, never the directional part.
Only works while the market is open — after resolve, use atstake_redeem. Requires an unlocked wallet.
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sats | Yes | Matched pairs to merge back into sBTC. |