Scan a wallet for reclaimable rent
scan_walletReads the token accounts and mints of a Solana wallet and returns the SOL that can be reclaimed now: excess rent (WithdrawExcessLamports, accounts stay open), empty token accounts (CloseAccount) and mint excess, the UNRENT service fee, the net amount, a forecast for the remaining rent steps, and tokens that may optionally be burned and closed (dust). Read-only, needs no signature. Amounts are in SOL. Also returns signUrl: a link to finish the reclaim on unrent.xyz with a browser wallet (Phantom, Solflare, Backpack…), for when you cannot sign for the wallet yourself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional UNRENT referral code. The referrer gets a share of the service fee; the wallet pays the same. | |
| wallet | Yes | Solana wallet address (base58). |