Query by @astrolabe-rwa, updated 2026-10-04. #rwa #commodities #gold
Example query
SELECT symbol, any(name) AS name, any(issuer) AS issuer, round(if(sumIf(usd_amount, venue = 'Raydium CLMM') >= 100, quantileExactWeightedIf(0.5)(price_usd, toUInt64(usd_amount * 100), venue = 'Raydium CLMM'), quantileExactWeighted(0.5)(price_usd, toUInt64(usd_amount * 100))), 2) AS price_usd,
round(sum(usd_amount)) AS volume_usd, uniq(wallet) AS traders
FROM ref.rwa_trades
WHERE block_date >= today() - {{days}} AND asset_class = 'commodity'
GROUP BY symbol
ORDER BY volume_usd DESC| symbol | name | issuer | price_usd | volume_usd | traders |
|---|---|---|---|---|---|
| GLDx | Gold xStock | xStocks (Backed) | 353.36 | 4466961.0 | 5577 |
| USO | United States Oil Fund, LP | Backpack Securities | 143.56 | 282766.0 | 898 |
| COPX | Global X Copper Miners ETF | Backpack Securities | 69.96 | 140050.0 | 519 |
| URA | Global X Uranium ETF | Backpack Securities | 29.34 | 106791.0 | 347 |
| GOLD | GOLD | unknown | 3879.54 | 37207.0 | 297 |
| SILV | Dominion Silver | Dominion | 2.82 | 1.0 | 9 |
6 rows. Computed 2026-11-23T11:23:17Z.