TL;DR: Every token now carries anDocumentation Index
Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
Use this file to discover all available pages before exploring further.
isOGCoin boolean — true when no other token on the same chain already has that name, false when it’s a copycat / rename, null while resolution is still pending.
What is isOGCoin?
A token is the OG for its name on a given chain when no prior row in our database shares the same (chainId, name). The flag is scoped per-chain — the same name can be OG on multiple chains independently (e.g. “PEPE” can be OG on both Solana and Base).
| Value | Meaning |
|---|---|
true | First time we see this name on this chain — original / OG |
false | Another token with the same name already exists on this chain |
null | Flag is being resolved (async, settles within a few seconds of creation or on first swap) |
Where it shows up
/api/2/token/details— top-levelisOGCoinfield on the response./api/2/market/details— included inside eachbase/quotetoken block.- Pulse WSS (
/api/2/pulse) — surfaced at the root and inside the nestedtokenobject. Filterable asis_og_coinorisOGCoin. - WSS token-details & market-details streams — same shape as the REST equivalents.
How it’s resolved
Two paths, both async — never blocks token creation:- At creation —
TokensStorage._upsertfires a fire-and-forgetfindFirstagainstpublic.tokens.name(GIN trigram indexed) right after the token row lands, then writes back viaupdatePartial(updateDb=true). Both Redis and DB land in the same write, broadcast through the token-state delta channel. - Lazy retry — the
token-handleris_og_coinservice watches the swap stream and, for any token still showingisOGCoin = nullin Redis, re-runs the lookup. Catches anything the creation-time path race-lost againstdbAsyncDB writes.
Use cases
- Spot copycats: filter Pulse / token-details by
isOGCoin = falseto surface every rename that’s piggybacking on an existing token’s name. - Highlight originals: badge UIs can mark
isOGCoin = truetokens as the canonical entry for that name on this chain. - Quality scoring: combine with
securityScore,bonded, anddexscreenerListedto weight authentic tokens above their copycats.
Shipped by Florian