$SGL to your wallet after the cooldown has elapsed.
Requirements
- Your position must be in the
unstakingstate (you’ve already unstaked). - The current time must be past the unlock time snapshotted when you unstaked. The program enforces this on-chain — an early withdrawal is rejected.
What happens
1
Principal returns
The program transfers your staked $SGL from the vault back to your wallet.
2
Position closes
The position account is closed and its rent is refunded to you.
3
Totals update
Network total-staked and staker count decrease accordingly.
Don’t forget your rewards
Withdrawing returns your principal. Any rewards you accrued are separate — make sure you’ve claimed your USDC + $SGL. Claiming works at any time, including while a position isunstaking or during a pause.
Want back in afterward? Staking again opens a fresh position; its rewards start from that moment (no retroactive credit). See Stake.
