Token accounts
Reclaim Solana rent
Close your empty Solana token accounts and recover the SOL rent locked in each. SPL Token and Token-2022 supported. Non-custodial; only empty accounts are eligible. Accounts that still hold tokens are listed but not selectable.
Open the toolStep by step: how to reclaim SOL rent from empty token accounts.
Features
- Auto-lists every empty token account in your wallet, ready to close
- Both SPL Token and Token-2022 accounts (any extension state)
- Batch many closes into one wallet approval via signAllTransactions
- Shows recovered SOL minus fee before you sign, no surprises
- Accounts that still hold tokens are listed but not selectable, so you can't accidentally lose anything
- Non-custodial: your wallet signs every transaction, SolKnife custodies nothing
How it works
Connect your wallet. SolKnife reads every token account your wallet owns, flags the empty ones (zero balance, rent locked), and shows what you can recover. Pick which to close, review the gross rent recovered, the fee, and the net SOL you receive, then sign. The wallet's `signAllTransactions` is used when available to batch many closes into a single approval. SolKnife keeps a small, disclosed cut of the reclaimed rent; the rest returns to your wallet in the same transaction.
Fees
SolKnife keeps a small percentage of the rent it recovers. You also pay the Solana network fee. The gross amount, the fee, and the net SOL are shown before you sign. Current amounts are on the pricing page.
API and MCP
Everything the page does is callable over HTTP, or as a tool on the MCP server at /api/mcp. Authentication and payment are in the agent docs.
GET /api/reclaim-rent/accounts
List a wallet's reclaimable empty token accounts.
MCP tool solknife_reclaim_rent_list · inputs owner
POST /api/reclaim-rent/build
Build chunked close-batch tx(s).
MCP tool solknife_reclaim_rent_build · inputs owner, accounts
POST /api/reclaim-rent/execute
Submit the signed close-batch tx(s).
MCP tool solknife_reclaim_rent_execute · inputs owner, signedTransactions, lastValidBlockHeight
Errors
A failed call returns { ok: false, error: { code, message } }. The codes: invalid-input (400), not-found (404), rate-limited (429), upstream-error (502), degraded (503). A rate-limited error can carry retryAfter, in seconds.
Key terms
- Rent
- A SOL deposit (about 0.0015 SOL for a new token account, about 0.002 SOL for older ones) every Solana account locks as a rent-exempt minimum balance. It is yours: closing the account returns the full deposit to the wallet that paid for it.
- Empty token account
- A token account with a zero balance, usually left behind after you fully sold or were airdropped a token. It holds no tokens, only its locked rent. Safe to close.
- Associated Token Account (ATA)
- The standard, deterministic account that holds one specific token for one wallet. Most of the empty accounts you'll see are ATAs from tokens you no longer hold.
- Why doesn't it auto-close?
- Solana doesn't auto-close accounts at zero balance; the rent stays paid until you explicitly close. The good news: a closed ATA can always be re-created if you ever need to receive that token again.
Frequently asked
What is Solana rent and why is my SOL locked in empty accounts?
Solana accounts hold a minimum SOL deposit (about 0.0015 SOL for a new token account) so the validator network can keep them indexed. It's called 'rent-exempt': you pay once and the account stays alive. When you sell or send away the tokens, the balance hits zero but the account stays open, with that deposit still locked. This tool returns the deposit to you.
How much SOL can I recover?
The full deposit each account holds: about 0.002 SOL for older accounts, about 0.0015 SOL for newer ones. The exact value also depends on the account's data size (Token-2022 accounts with extensions are slightly more). The tool shows the gross recovery and net (after the SolKnife fee) for each account before you sign, so you can decide whether it's worth it for a small batch.
Is it safe to close empty token accounts?
Yes. They hold no tokens, only their rent deposit. Closing them sends the deposit back to your wallet and removes the account. If you ever need to receive that token again, the Associated Token Account is deterministically re-creatable. SolKnife only lets you select accounts that are truly empty; ones still holding a balance are listed greyed out, never selectable.
Can I close accounts that still hold tokens?
Not via this tool. SolKnife only lets you select empty accounts. Accounts with any positive balance are shown so you can see what's where, but they can't be selected for closing. To close an account with tokens, you'd first need to sell or transfer the balance to zero.
Does this work for Token-2022 accounts?
Yes. Both SPL Token and Token-2022 accounts (with any extension set) are listed and closeable. SolKnife uses the right program's close instruction automatically based on which program owns each account.
Can I close multiple accounts in one signature?
Yes. SolKnife uses your wallet's `signAllTransactions` when available, batching closes into the fewest signed transactions possible (each tx has a per-instruction limit, so very large batches still split across several txs, but you approve them all in one wallet popup). Wallets without `signAllTransactions` fall back to one popup per tx.
Are wrapped SOL accounts safe to close?
Yes. Wrapped SOL (wSOL) accounts work the same way; closing returns both the held SOL balance AND the rent deposit. SolKnife lists wSOL accounts with their balance so you can see exactly what you'd recover.
What's the fee?
SolKnife keeps a small, configurable cut of the reclaimed rent (typically 10%, set by the operator). The rest returns to your wallet. Both numbers are shown per-account before you sign, never charged without you seeing it first.
Can someone else close my accounts?
No. The Solana program checks: only the account's owner (the wallet that paid for the deposit) can sign a close instruction. Your wallet has to sign each transaction, which is exactly what this tool asks for.
What if I closed an account I needed?
It's not a problem. Associated Token Accounts are deterministic: the address is derived from (owner, mint, program), so the same address recreates itself the next time you receive that token (your wallet client or sender's create-ATA call rebuilds it automatically). You just pay the ~0.0015 SOL rent again at that point.