Solana: Unstake Using the Earn Widget

Unstake SOL with the Earn Widget to prepare for withdrawal

This Solana Unstaking Flow flow lets users deactivate a specific Solana stake account so that the staked SOL can later be withdrawn back to the wallet.

Unstaking is always the first step in a two-step sequence: Unstake → Withdraw, and it typically takes several days for deactivation to complete.

📘

Unstaking is performed per account, not by arbitrary partial amounts across accounts.

Step-by-step flow

  1. Open Unstake
    The user clicks Unstake from the main Solana staking card.

  2. View staking context
    The widget shows:

    • Total staked SOL.
    • List of stake accounts that contribute to this total.
  3. Select stake account
    The user selects one Active stake account from the list.

  4. Review deactivation details
    The UI displays:

    • Selected account address and amount.

    • Deactivation time frame (for example, “Up to 4 days”).

  5. Submit unstake transaction
    The user clicks Unstake.

    • The widget triggers an unstake transaction in the connected wallet.
    • The user approves the transaction, incurring network fees.
  6. Transaction processing / deactivating state
    On success, the selected stake account transitions to a Deactivating state in the widget.
    The UI may display:

    • A “Deactivating – up to X days” label.
    • A link to view the transaction or account in a block explorer.
  7. Post-unstake view
    The main staking view now shows:

    • Updated totals (staked vs. deactivating/ready-to-withdraw).
    • Unstaking Section: A dedicated card lists the amount of SOL currently "Deactivating".
      📘

      Note: This figure will programmatically transition to the "Ready to Withdraw" column within the same card once the process completes.

    • Accounts List: The specific account entry will now feature a "Deactivating" status badge for immediate clarity.

    When deactivation completes, the account status changes from Deactivating to Ready to withdraw, and the widget enables the Withdraw CTA for that account.