Query editor
-- Verified tokenized commodity spot trades.-- Primary address sources, verified 2026-11-20:-- PAXG (Ethereum, Base, Solana): https://www.paxg.com/ explorer links.-- XAUT (Ethereum, BNB): https://tether.to/en/supported-protocols/-- KMS KAU / KAG (Ethereum): https://kmslabs.money/ explorer links.-- Includes every matched pool swap once, including gold-token-to-gold-token swaps.-- This is pool turnover, not deduplicated end-user order volume.-- amount_usd NULLs are excluded from the priced volume but counted in unpriced_count.-- Seven-day source probe: https://dune.com/queries/9162757 (temporary/private).WITHspot_evm_tokens(blockchain, token_address, token_symbol, asset) AS (VALUES('ethereum', 0x45804880de22913dafe09f4980848ece6ecbaf78, 'PAXG', 'Gold'),('base', 0xe904aea5e1b110c9174728fa2effc8aed19e98ef, 'PAXG', 'Gold'),('ethereum', 0x68749665ff8d2d112fa859aa293f07a622782f38, 'XAUT', 'Gold'),('bnb', 0x21caef8a43163eea865baee23b9c2e327696a3bf, 'XAUT', 'Gold'),('ethereum', 0x14dab79fd7b7b3f748d434812fd6a9aac460ea52, 'KAU', 'Gold'),('ethereum', 0x56ba8b58b7d1f6d384a1c4dd553f39ebc8741b8e, 'KAG', 'Silver')),spot_evm_rows AS (SELECTt.block_date,t.block_time,t.blockchain AS chain,t.project AS venue,'Spot' AS product,CASEWHEN b.asset IS NOT NULL AND s.asset IS NOT NULL AND b.asset <> s.assetTHEN 'Gold / Silver'ELSE COALESCE(b.asset, s.asset)END AS asset,CASEWHEN b.token_symbol IS NOT NULL AND s.token_symbol IS NOT NULLAND b.token_symbol <> s.token_symbolTHEN LEAST(b.token_symbol, s.token_symbol) || ' / ' || GREATEST(b.token_symbol, s.token_symbol)ELSE COALESCE(b.token_symbol, s.token_symbol)END AS market,t.amount_usdFROM dex.trades tLEFT JOIN spot_evm_tokens bON t.blockchain = b.blockchain AND t.token_bought_address = b.token_addressLEFT JOIN spot_evm_tokens sON t.blockchain = s.blockchain AND t.token_sold_address = s.token_addressWHERE t.block_month >= CAST(date_trunc('month', current_date - interval '90' day) AS date)AND t.block_month <= CAST(date_trunc('month', current_date - interval '1' day) AS date)AND t.block_date >= current_date - interval '90' dayAND t.block_date < current_dateAND t.blockchain IN ('ethereum', 'base', 'bnb')AND (b.token_symbol IS NOT NULL OR s.token_symbol IS NOT NULL)),spot_solana_rows AS (SELECTblock_date,block_time,'solana' AS chain,project AS venue,'Spot' AS product,'Gold' AS asset,'PAXG' AS market,amount_usd