/ Daily DEX USD volume - edit1 @devinwalsh
About queries and results
Dune Analytics lets you explore, create, and share Ethereum analytics. You can find an endless amount of great queries and dashboards on Dune.
We have decoded Ethereum smart contract data so you can do powerful analysis with simple SQL queries and visualise the query results into beautiful graphs.
Dune Analytics is free for everyone forever. If you want extra features like private queries, export your results and more check out our Pro plan.
SQL query results
SQL query
1WITH uniswap AS (
2 SELECT
3 'Uniswap' AS "Project",
4 '\xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'::BYTEA AS token,
5 evt_block_time,
6 eth AS amt
7 FROM ((
8 SELECT
9 evt_block_time,
10 eth_sold AS eth
11 FROM
12 uniswap. "Exchange_evt_TokenPurchase"
13 WHERE evt_block_time >= date_trunc('day', now()::timestamptz - interval '2 weeks') AND evt_block_time < date_trunc('day', Now()))
14 UNION ALL (
15 SELECT
16 evt_block_time,
17 eth_bought AS eth
18 FROM
19 uniswap. "Exchange_evt_EthPurchase"
20 WHERE evt_block_time >= date_trunc('day', now()::timestamptz - interval '2 weeks') AND evt_block_time < date_trunc('day', Now()))) ether
21),
22
23ddex AS (
24 SELECT
25 'DDEX' AS "Project",...