Build the reclaim transactions
build_reclaimRe-scans the wallet on the chain and builds the reclaim as unsigned, simulated Solana transactions (base64, versioned). They withdraw excess rent, close empty accounts and pay the service fee as the last instruction; nothing else leaves the wallet. Tokens are only burned for accounts listed in burn. The wallet's owner signs every transaction unchanged (the fee payer is the wallet, compute budget instructions may be added) and passes them to submit_reclaim within about 60 seconds, before the blockhash expires. Do not send them 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. | |
| burn | No | Token accounts to burn and close (from the scan's burn.candidates). Only when the wallet owner explicitly asked for it. | |
| wallet | Yes | Solana wallet address (base58). | |
| accounts | No | Only these account addresses (from a scan). Default: everything reclaimable. | |
| burnMaxUsd | No | Highest USD value per account that may be burned (capped by burn.cleanupMaxUsd). Dust is burned regardless. |