Integrates with Sol-Incinerator API v2 to burn SPL tokens, NFTs, and close token accounts on Solana. Supports preview, instruction-only, batch cleanup, and transaction relay workflows.
Ships in sol-incinerator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A practical integration guide for Sol-Incinerator's HTTP API. The main user-facing outcomes are burning tokens, burning NFTs, and closing token accounts, while still supporting advanced batch cleanup and relay workflows.
Live API base URL: https://v2.api.sol-incinerator.com
Sol-Incinerator API v2 provides:
POST /api-keys/generate| Group | Endpoints |
|---|---|
| Public discovery | GET /, /openapi.json, /.well-known/api-catalog, /llms*, /DOCS.md |
| Public auth bootstrap | POST /api-keys/generate |
| Burn + close (API key required) | /burn, /burn-instructions, /close, /close-instructions, /batch/close-all* |
| Relay + confirmation (API key required) | /transactions/send, /transactions/send-batch, /transactions/status |
const baseUrl = 'https://v2.api.sol-incinerator.com';
const keyResp = await fetch(`${baseUrl}/api-keys/generate`, {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({ label: 'autonomous-agent' }),
});
if (!keyResp.ok) {
throw new Error(`API key generation failed: ${keyResp.status}`);
}
const { apiKey } = await keyResp.json() as { apiKey: string };
const headers = {
'content-type': 'application/json',
'x-api-key': apiKey,
};
const previewResp = await fetch(`${baseUrl}/burn/preview`, {
method: 'POST',
headers,
body: JSON.stringify({
userPublicKey,
assetId,
burnAmount: '1',
}),
});
/burn, /close, or /batch/close-all./transactions/send and /transactions/send-batch./transactions/status if needed.x-api-key: ak_xxx.yyy (recommended for server agents)Authorization: Bearer ak_xxx.yyy401 when key is missing or invalid./burn, /close, previews, instructions):
userPublicKeyassetId/batch/close-all*):
userPublicKeyfeePayer (public key)asLegacyTransaction (boolean)priorityFeeMicroLamports (integer)autoCloseTokenAccounts (boolean, burn flows)burnAmount (positive integer in atomic units; use string for large values)offset, limit (batch pagination/windowing)partnerFeeAccount and partnerFeeBps are all-or-nothing.partnerFeeBps must be integer 0..9800.referralCode must be 2-20 lowercase alphanumeric.referralCode cannot be combined with partner fee fields./burn/preview or /close/preview before execution when:
/burn and /close when:
/burn-instructions and /close-instructions when:
/batch/close-all/preview first for wallet cleanup UX/batch/close-all/summary for lightweight dashboard counts/transactions/send-batch for multi-tx close-all pipelinesPOST /api-keys/generate./transactions/status.burnAmount as a string for large atomic values.referralCode with partner fee fields.encoding: "base64" (default is base58)./openapi.json)/llms.txt)sol-incinerator/
├── SKILL.md # This file
├── resources/
│ └── api-reference.md # Endpoint matrix and request notes
├── examples/
│ └── basic/
│ └── http-flow.ts # Close-account + token/NFT burn examples
├── templates/
│ └── sol-incinerator-client.ts # Ready-to-use TypeScript client
└── docs/
└── troubleshooting.md # Common errors and fixes
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/sol-incinerator:sol-incineratorfrom sol-incinerator
npx claudepluginhub sendaifun/skills --plugin sol-incinerator