Token metadata (on-chain + off-chain)
Resolves token metadata across multiple sources, in order: Metaplex (PDA from Token Metadata Program) → Token 2022 → internal Data API.
On-chain name, symbol, and uri are pulled from whichever source
responds first. If a uri is present, the off-chain JSON is fetched
(via IPFS gateway when applicable) and returned under offChain.
Result is cached per mint; a single retry-after-1s pass handles tokens that aren’t fully indexed yet.
dexPaid indicates whether the token has DexScreener
“Enhanced Token Info” (the team paid for the profile). Sourced from a
per-region in-memory cache fed by DexScreener’s profile WebSocket;
misses trigger a throttled on-demand /orders/v1/solana/{mint} check
in the background (rate-capped well under DexScreener’s 60 req/min
limit). The first response for an unseen mint may return
dexPaid: null; the next call returns the resolved boolean.
