Toolbox
Unwrap SOL
Last updated April 20, 2026
Summary
The mplx toolbox sol unwrap command unwraps the entire wSOL balance by closing the associated token account, returning the SOL to the owner.
- Closes the wSOL associated token account and returns all SOL to the identity.
- Takes no arguments and no flags.
- All-or-nothing — partial unwrapping is not supported.
- Fails if no wSOL token account exists for the current wallet.
Quick Reference
The table below summarizes the command's shape and key constants.
| Item | Value |
|---|---|
| Command | mplx toolbox sol unwrap |
| Arguments | None |
| Flags | None |
| Native mint | So11111111111111111111111111111111111111112 |
| Inverse | toolbox sol wrap |
Basic Usage
Run the command with no arguments to unwrap the full wSOL balance of the current wallet.
mplx toolbox sol unwrap
Examples
The command has a single invocation form.
mplx toolbox sol unwrap
Output
On success the command prints the unwrapped amount, the closed token account, and the transaction signature.
--------------------------------
Unwrapped <amount> SOL
Token Account Closed: <associated_token_account>
Signature: <transaction_signature>
Explorer: <explorer_url>
--------------------------------
Notes
- Unwrap is all-or-nothing — the entire wSOL balance is converted back to SOL and the token account is closed.
- Fails if no wSOL token account exists for the current wallet.
- Wrap with
toolbox sol wrap.
