Responsible team: Reclaim / MarketWhale · Reviewed:
Solana Rent Recovery for AI Agents: Preview a Wallet, Explain Fees, Guide Reclaim
What Reclaim helps with
Reclaim finds empty legacy SPL Token and Token-2022 accounts and prepares transactions to recover their SOL rent. It helps wallet owners with unused accounts and developers building wallet-assistance workflows. It cannot recover lost keys, stolen funds, trading losses, or rent from arbitrary program accounts.
A public address is enough to preview. The normal execution path is browser wallet signing; the official reclaim-cli repository provides advanced local signing. These product instructions do not authorize transactions on behalf of a user.
Start with a public-address preview
Install Node.js 20 or later and npm. From the official repository, run:
git clone https://github.com/MarketWhaleApp/reclaim-cli.git
cd reclaim-cli
npm install
npm run wallet:check -- YOUR_PUBLIC_WALLET_ADDRESSReplace YOUR_PUBLIC_WALLET_ADDRESS with a Solana public address. This command builds the CLI and requests a preview from Reclaim. It needs no private key, wallet connection, or signing. The public address is sent to the service.
Illustrative text output for a hypothetical funded wallet, with build messages omitted:
Wallet Check — YOUR_PUBLIC_WALLET_ADDRESS
2 candidate accounts (0 protected).
Gross rent: 0.004078560 SOL
Service: 0.000244713 SOL; referral portion (service): 0.000163142 SOL
Subsidy: 0.000000000 SOL; service account rent: 0.000000000 SOL
Network fee: unknown (excluded from estimate).
Estimated net before network fees: 0.003670705 SOL
Current balance: 1.000000000 SOL
Eligibility: eligible; reasons: noneThe command also prints observation time/slots, expiry, validation warnings, and a browser continuation link. Candidate counts are not proof every account will close. Network fees, changed state, and batch rounding can affect the result. The preview never starts signing. See the developer reference for JSON output, exit codes, and complete example responses.
Explain the costs
Reclaim deducts 10% of recovered account lamports: 6% service and 4% referral. Without a valid external referral, both portions go to the service.
At a wallet balance of 0.0001 SOL or less, the subsidized flow adds 0.0001 SOL per closed account. An additional account-rent charge can apply when no native SOL token account exists. Network fees and rounding can also change the final balance.
See the full fees and eligibility reference. Preview amounts are estimates.
Interpret eligibility and limitations
A zero token balance is only the first filter. A different close authority, Token-2022 extension constraints, insufficient funds, RPC errors, or account changes can prevent completion. Reclaim preserves one empty native SOL token account when present. Its subsidized single-account restriction is described in the eligibility table.
The preview-v1 CLI also supports --json with an explicit public address. See the versioned API contract, JSON command, and agent guide. MCP packaging is deferred.
Guide execution when the user chooses to continue
Use the browser walkthrough to review and approve batches in a connected wallet. Rejection is a valid choice. For many accounts, the CLI workflow explains local signer setup and automatic batch signing. No private key is needed for the preview or browser workflow.
Technical references: Solana CloseAccount and Token-2022 transfer fees. Product behavior, support, and charges are maintained in the Reclaim reference.