curl --request POST \
--url https://ca.raze.sh/utils/sol/burn \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"items": [
{
"wallet": "WalletPubkeyA...",
"tokenAddress": "MintPubkeyA...",
"amount": 100
},
{
"wallet": "WalletPubkeyA...",
"tokenAddress": "MintPubkeyB...",
"amount": 50
}
]
}
'{
"success": true,
"transactions": [
"<string>"
],
"batches": [
{
"signers": [
"<string>"
],
"itemIndices": [
123
],
"instructionCount": 123
}
],
"mint": "<string>",
"platform": "<string>",
"status": {},
"simulations": [
{}
],
"error": "<string>"
}Burn SPL or Token-2022 tokens. Accepts a batched items[] array or the
legacy single-item shorthand.
Items are grouped by wallet and each (wallet, mint) pair is
resolved to its actual token account (supports seed-based accounts,
not just standard ATAs). Burns are packed into the fewest possible
1232-byte transactions.
Replaces POST /api/sol/burn from public.raze.sh.
curl --request POST \
--url https://ca.raze.sh/utils/sol/burn \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"items": [
{
"wallet": "WalletPubkeyA...",
"tokenAddress": "MintPubkeyA...",
"amount": 100
},
{
"wallet": "WalletPubkeyA...",
"tokenAddress": "MintPubkeyB...",
"amount": 50
}
]
}
'{
"success": true,
"transactions": [
"<string>"
],
"batches": [
{
"signers": [
"<string>"
],
"itemIndices": [
123
],
"instructionCount": 123
}
],
"mint": "<string>",
"platform": "<string>",
"status": {},
"simulations": [
{}
],
"error": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.raze.bot/llms.txt
Use this file to discover all available pages before exploring further.
Batch burn. Either pass items[] for the full batched form, or use
top-level wallet / tokenAddress / amount.
Transactions built
Shared envelope for every /utils/sol/* write endpoint. Optional
fields are omitted from the JSON when unset.
Serialized partially-signed transactions in submission order.
For batch endpoints (transfer, burn): packing metadata.
batches[i] describes transactions[i].
Show child attributes
Set by /utils/sol/launch — the mint of the launched token.
Set by /utils/sol/launch and /utils/sol/fees/claim.
Set by /utils/sol/fees/config for action=status reads.
Set when the request had simulate: true. One entry per built tx,
in the same order as transactions. Each entry is the RPC
simulateTransaction value object (logs / unitsConsumed / err).