Detail. total_supply returns null for USDC, WETH, GRT, stETH, PEPE, ARKM, and approximately 95% of the 51 tokens tested. Only circulating_supply is reliably populated.
Workaround applied. Removed FDV (fully diluted valuation) computation from the UI entirely. The “Diluted market cap” stat tile that was originally planned was dropped.
Impact. FDV is one of the four headline metrics on every CoinGecko, DefiLlama, and CoinMarketCap token page. Inability to compute it is a noticeable feature gap relative to incumbents.
Proposed change. Backfill total_supply from a one-time totalSupply() contract read at indexing time. Cache indefinitely; refresh on mint or burn events. The indexer already has RPC access for this.
Effort estimate. Small. One contract read per token, results immutable except on supply change events.
Detail.
total_supplyreturnsnullfor USDC, WETH, GRT, stETH, PEPE, ARKM, and approximately 95% of the 51 tokens tested. Onlycirculating_supplyis reliably populated.Workaround applied. Removed FDV (fully diluted valuation) computation from the UI entirely. The “Diluted market cap” stat tile that was originally planned was dropped.
Impact. FDV is one of the four headline metrics on every CoinGecko, DefiLlama, and CoinMarketCap token page. Inability to compute it is a noticeable feature gap relative to incumbents.
Proposed change. Backfill
total_supplyfrom a one-timetotalSupply()contract read at indexing time. Cache indefinitely; refresh onmintorburnevents. The indexer already has RPC access for this.Effort estimate. Small. One contract read per token, results immutable except on supply change events.