Burn & Claim Developer Documentation
The Burn & Claim API lets you integrate Solana token burning and SOL reclamation directly into your application. Users can close empty token accounts, burn worthless tokens and NFTs, and reclaim the rent SOL locked inside them.
Install the SDK
npm install @burnandclaim/sdkHow it works
- Your backend authenticates with a long-lived API key and creates a short-lived session token scoped to a single wallet.
- Your frontend uses that session token to discover burnable assets, build unsigned transactions, prompt the user to sign, and submit them.
- The user reclaims SOL. You can optionally route a donation percentage to your project.
Quick links
- Quickstart — Get up and running in 5 minutes
- Authentication — API keys, session tokens, and scopes
- TypeScript SDK — Full SDK reference
- API Reference — Raw HTTP endpoint documentation
- Rate Limits — Throttling tiers and quotas
- Error Handling — Error shapes and retry strategies
- Cookbook — Copy-paste recipes for common tasks
Base URL
All API requests go to:
https://api.aerosol.com/api/v1/burnerAuthentication at a glance
| Credential | Header | Lifetime | Use from |
|---|---|---|---|
| API Key | X-Api-Key: ak_... | Long-lived | Server only |
| Session Token | Authorization: Bearer <token> | 5 min default, 1 hr max | Browser / mobile |
See Authentication for the full guide.
Last updated on