Ollie · Docs · 17 pages

Trail map

Page 13 of 17

Public data sources

Where market figures come from and what happens when they don't.

Implemented once a mint is configured. Before launch, no market data is requested or shown.

Source

Market figures come from DEX Screener's public token endpoint (api.dexscreener.com/tokens/v1/solana/<mint>). Only pairs whose base token exactly matches the configured mint are used; the deepest pair by liquidity is shown.

Handling

  • Requests run server-side with a 4.5 second timeout.
  • Responses are validated against a schema. Anything that doesn't match is rejected, not guessed at.
  • Results are cached for 60 seconds and shared by all visitors.
  • If the source fails, the last good reading is used for up to 15 minutes.
  • After that, the site says the data is unavailable. It never shows estimated or placeholder numbers.
  • The endpoint applies a per-client rate limit.

Solana RPC

The holder check makes one read-only call, getTokenAccountsByOwner, filtered to the configured mint. Answers are kept for 30 seconds per address. Nothing is written to the chain.

Without data

The game works fully without market data. It runs on a blue run with six presents.