GET /stats
Returns stats for your project — total SOL reclaimed, transaction counts, unique wallets, and donation totals. Scoped automatically to the project linked to your API key.
Request
GET https://api.aerosol.com/api/v1/burner/statsHeaders
| Header | Required | Description |
|---|---|---|
X-Api-Key or Authorization | Yes | API key or session token |
Example request
curl https://api.aerosol.com/api/v1/burner/stats \
-H "X-Api-Key: ak_live_..."Response
200 OK
{
"totalGrossRebate": 89012345678,
"totalNetRebate": 84561728394,
"totalTransactionCount": 34567,
"totalWallets": 8921,
"totalDonations": 2345,
"totalDonationAmount": 6789012345
}Response fields
| Field | Type | Description |
|---|---|---|
totalGrossRebate | number | Total SOL reclaimed before fees, in lamports |
totalNetRebate | number | Total SOL users kept after fees, in lamports |
totalTransactionCount | number | Total transactions processed for your project |
totalWallets | number | Unique wallets that have used Burn & Claim through your integration |
totalDonations | number | Total number of donations to your project |
totalDonationAmount | number | Total donation amount to your project, in lamports |
Error responses
| Status | Cause |
|---|---|
| 401 | Invalid or missing credentials |
| 429 | Rate limit exceeded |
SDK example
const stats = await client.getStats()Last updated on