How BombCrypto Analytics works
From blockchain to dashboard: how we collect, decode and present BombCrypto's on-chain data.
Last updated: 2026-06-13Everything you see on BombCrypto Analytics originates from public events recorded on the BNB Smart Chain and Polygon blockchains. On this page we explain, without jargon, the path a data point travels before it becomes a number on your dashboard.
1. Reading the blockchain
BombCrypto's smart contracts emit events whenever something happens: a hero is minted, a transfer occurs, a stake is deposited or withdrawn, a reward is claimed. These events are permanently recorded on the network. Our indexers read those events block by block, continuously, and store them in a database optimized for querying.
Querying the blockchain directly on every visit would be slow and unstable. By indexing the events once and storing them, we can serve rankings and history in milliseconds while keeping a short refresh cycle for new data.
2. Decoding the details
Each hero's and house's attributes aren't stored in separate fields — they're packed into a single large number (a uint256), with each bit range representing a property: id, rarity, level, stamina, speed, power, range, abilities and the mint block. We apply exactly the same bit scheme the contract uses to extract each value. That's why the rarity and stats we show match what the game displays.
3. Cross-referencing market prices
To convert BCOIN and SEN amounts into dollar values — used in metrics like PnL, portfolio and ROI — we combine stake and claim data with public market quotes for both tokens, sampled continuously.
4. Presenting with context
Finally, we organize everything into themed dashboards. Each one carries not just the number, but the explanation: what it means, how it was computed and how often it changes. The goal is for a player with no technical blockchain knowledge to interpret the game's economy with confidence.
Flow summary
| Step | What happens |
|---|---|
| On-chain events | Contracts emit events on every mint, stake, claim and transfer. |
| Indexing | We read events block by block and store them in a database. |
| Decoding | We extract rarity and stats from the packed uint256. |
| Prices | We cross-reference token amounts with market quotes. |
| Presentation | We display with explanatory context on each dashboard. |
On-chain data depends on the availability of network providers. During instability, some dashboards may show values with a small delay until the next refresh. We always prioritize showing the last known good value rather than breaking the page.