@okxweb3wallet·13 charts
RWA AMM Pool Analytics
Production · BNB & Robinhood · UTC+8 business days · Required history starts at 2026-08-01
Sources: dune.okxweb3wallet.amm_pool_ana_rwa_token_related_tx_detail and dune.okxweb3wallet.amm_pool_ana_pool_daily_kpi.
Overview
How to use the two tables
Transaction detail — one row per dex.trades trade leg. Use it for wallet analysis, exact cross-pool transaction/user counts, and row-level investigation. amount_usd is already USD-valued; DTV is SUM(amount_usd) and must not be divided by two.
SELECT chain, COUNT(DISTINCT tx_hash) AS transactions, SUM(amount_usd) AS dtv_usd
FROM dune.okxweb3wallet.amm_pool_ana_rwa_token_related_tx_detail
GROUP BY 1
Pool daily KPI — one row per (business_date, chain, protocol, version, pool_address, pool_id). Use it for pool/date DTV, pool-scoped distinct transaction counts, and end-of-day TVL. Do not sum daily_tx_count when you need a globally deduplicated transaction count across pools; calculate that from the detail table.
SELECT business_date, chain, SUM(dtv_usd) AS dtv_usd, SUM(pool_tvl_usd) AS priced_tvl_usd
FROM dune.okxweb3wallet.amm_pool_ana_pool_daily_kpi
GROUP BY 1, 2
TVL uses each token's normalized balance units multiplied by its USD cutoff price, then adds the two token legs. A pool remains unpriced (NULL) unless both legs have balances and prices.
Trends and daily reconciliation
Correctness checks
Every row below should be PASS. The checks cover the PM start date, completed-day boundary, RWA scope, Manager Pool IDs, KPI grain, non-negative metrics, and Detail ↔ KPI reconciliation.
Concrete production data
Pool ranking includes every pool in the trailing seven-day window. The two raw-data widgets expose the complete SQL result sets with no LIMIT; use Dune table pagination to browse them.