Skip to content

Docs

Everything SolCleanup does, end to end: what it reads, what it builds, what it charges and what never leaves your browser. Check any of it against what your wallet shows you.

0.00+0.00204 SOL

Start here

Scanning your wallet

The app calls getParsedTokenAccountsByOwner once for each Solana token program, then reads every mint those accounts point to.

Token programs
SPL Token   TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
Token-2022  TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb

Prices and token names come from Jupiter and are only fetched for mints that matter: empty accounts and anything with a balance.

Account statuses

Every account gets exactly one status. Protected is decided first, so a risky account can never look closable.

  • EmptyClosable

    Raw balance is exactly 0. The only status that can be closed.

  • DustClosable

    A priced balance worth under $2. Opt-in: the exact balance is burned, then the account is closed.

  • Protected

    Anything worth $2 or more, NFTs, LP and liquid staking tokens, wrapped SOL, frozen accounts, accounts another wallet can close, Token-2022 accounts holding withheld fees, and anything that can't be priced.

Checks before signing

Right before your wallet opens, SolCleanup checks everything again against the live chain:

  • Each selected account is re-read: empty ones must still hold zero, dust must still hold exactly the balance you saw.
  • Each transaction is simulated. One that fails is shown with its decoded error and never reaches your wallet.
  • The compute limit is taken from that simulation, so you don't overpay for space you don't use.

Transaction anatomy

Selected accounts are grouped into versioned (v0) transactions of at most 22 closes, which keeps each one under Solana's 1,232-byte limit. Every transaction contains, in order:

One transaction
1  ComputeBudget  setComputeUnitLimit   simulated units × 1.15 + 2,000
2  ComputeBudget  setComputeUnitPrice   p75 of recent fees, 1,000–500,000 µ-lamports
3… Token          burnChecked           dust only: exactly the scanned balance
   Token          closeAccount          account → your wallet (authority: you)
n  System         transfer              your wallet → fee wallet

All instructions succeed together, or none of them do.

Fees

The service fee is 8% (800 basis points) of the rent each transaction returns, rounded down to the lamport:

Fee formula
fee = floor(rentReturnedInThisTransaction × 800 / 10,000)

It is a transfer inside the same transaction as the closes, so it only settles if they do. It goes to the public service fee wallet:

HXFZid9dFdTa2ARCf7MktM2xQaw9hguxX1Aoaa9Shamp

The network fee (5,000 lamports per signature plus the priority fee) goes to Solana validators, not to SolCleanup.

What leaves your browser

  • RPC requests for your accounts go to the configured Solana RPC.
  • Price and token-name lookups send only public mint addresses to Jupiter, never your wallet address.
  • No analytics, no backend and no storage of wallet contents.