metrics.dex_pools_daily holds one row per pool per day, with every pool measure. metrics.dex_pool_pairs_daily splits the same volume by traded pair: one row per pool per pair per day. Every figure is in USD, converted with our token prices at the finest level and added up from there.
metrics.dex_pools_daily: one row per pool per day.metrics.dex_pool_pairs_daily: one row per pool per traded pair per day.
Tables
- Pool
- Pair
One row per pool per day, keyed
(dex_pool_id, timestamp). The table carries trading_volume, tvl, fees and flash_loan_volume, alongside the keys for the app, the protocol version, the project and the chain.| Column | Type | Description |
|---|---|---|
timestamp | TIMESTAMP | Day the row aggregates, truncated to UTC midnight. |
dex_pool_id | STRING | Pool the row measures, keyed like dimensions.dex_pools. |
deployment_id | STRING | The operating app’s deployment on the pool’s chain. |
protocol_id | STRING | The app operating the pool. |
project_id | STRING | Project the operating app belongs to. |
chain_id | STRING | Chain the pool lives on. |
trading_volume | BIGNUMERIC | USD value of the day’s swaps in the pool. |
tvl | BIGNUMERIC | Total value locked: the USD value of what the pool was holding at the end of the day. |
fees | BIGNUMERIC | USD value of the day’s swap and flash-loan fees. |
flash_loan_volume | BIGNUMERIC | USD value of the day’s flash loans drawn from the pool. |
Sample queries
- One pool's series
- Pools by volume
- Pair total across pools
- Pool by pair breakdown
- Sector total
- Pool vs pair check
Read one pool’s daily series.
fees is worked out from the same volume figure as trading_volume, so dividing one by the other gives back the pool’s fee rate. It is not a second, independent measurement of what traders paid. Pool rows add up cleanly to the app’s deployment on that chain, then the protocol version, then the project, because every level uses the same token prices.