Leaderboards and stats
Read the public boards and numbers, a wallet's rank, and how fresh they are.
Every board is public, needs no key, and pages with limit and cursor: each answer's entries are in data, and nextCursor is the next page, null on the last.
| Board | Ranks |
|---|---|
GET /v1/leaderboards/wallets | Wallets by SOL reclaimed, or by items of one action |
GET /v1/leaderboards/burners | Live burners by the donations and fee shares their organizations were paid |
GET /v1/leaderboards/burners/{slug}/wallets | One burner's wallets by the donations and fee shares they sent its organization |
GET /v1/leaderboards/referrers | Registered referrers by the shares they were paid |
GET /v1/leaderboards/projects | Listed projects by how many of their tokens' accounts were cleaned up |
GET /v1/leaderboards/projects/{idOrSlug}/wallets | One project's wallets by how many of its tokens' accounts they cleaned up |
Pass wallet on a wallets board to get that wallet's own entry in you, even outside the top; you: null means it has none, not rank zero. burner on the wallets board ranks only the cleanups on that burner. Read a leaderboard is the SDK's recipe.
Every rank is its own place, from 1: no two rows share one, so there is only ever one #1. A tie on the value goes to the row that reached it first, by the hour of its last cleanup that added to it in 24h, 7d and 30d, and by the UTC day in longer timeframes and ranges of days. Rows that reached it in the same hour or day follow a fixed order that never changes between reads. you, a wallet's summary and a burner's stats give the same rank as the board.
Profiles
Every board of wallets ranks profiles. A profile is a person who signed in to a burner with Synq, with every wallet they linked there: its row adds all of them up, and its donor tier is the highest donation share any of them chose. A wallet on no profile ranks on its own, as it always did.
Each entry says who it ranks: profile (profileId and username), or null for a wallet on no profile, and wallets, the wallets the row adds up, most first. wallet is the one of them that did most on the board. wallet= finds a wallet's profile, so you is the profile's row. The board's count (wallets) is its rows.
A username is the person's own choice: show it as untrusted text. It is null when they chose none, and while their account is disabled or being deleted. No board shows a picture. A wallet's summary (GET /v1/wallets/{address}/summary) ranks the same way: its rank and topPercent are its profile's. The referrers board ranks the same way, by each referrer's payout address: a profile's codes add up on one row, listed in codes, and each code stays its address's.
A profile follows Synq: a wallet linked or unlinked there, or moved to another profile, moves on the boards with its whole history, at their next refresh, within a minute. GET /v1/profiles/me is the signed-in person's own profile and rank, for an access token from Burn & Claim's Synq brand.
Timeframes are 24h, 7d and 30d back from now, month (this calendar month, UTC), and 3m, 12m, 24m and all. On the wallets board, from and to pick a range of UTC days instead, to excluded.
GET /v1/stats is Burn & Claim's numbers, all time and for the last 24 hours, with SOL's price in USD. GET /v1/burners/{slug}/stats is one burner's, with what its organization raised on it and its rank on the all-time burners board.
Freshness
Boards are computed from snapshots: every 5 minutes for 24h to month, every hour for 3m to all. Show each answer's asOf, when it was computed. The transaction records and the payout ledger are what landed; a board can lag them. Reclaimed SOL is not what a wallet netted, and a missed share is not a paid one. An account a wallet keeps gives extra SOL back after every rent cut: its SOL counts every time, but as an item (items, actions.withdraw_excess, and the action=withdraw_excess board) it counts once, the first time.