zyroqDEX.
Updated 2024-11-30
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
›
⌄
SELECT
date_trunc('day',block_timestamp) as date,
'buy' as action,
sum(AMOUNT_IN_USD) as volume,
count(distinct ORIGIN_FROM_ADDRESS) as traders,
count(DISTINCT TX_HASH) as tx,
from base.defi.ez_dex_swaps
where token_in =LOWER('0x55cD6469F597452B5A7536e2CD98fDE4c1247ee4')
group by 1
union all
SELECT
date_trunc('day',block_timestamp) as date,
'sell' as action,
sum(AMOUNT_OUT_USD) as volume,
count(distinct ORIGIN_FROM_ADDRESS) as traders,
count(DISTINCT TX_HASH) as tx,
from base.defi.ez_dex_swaps
where token_in =LOWER('0x55cD6469F597452B5A7536e2CD98fDE4c1247ee4')
group by 1
QueryRunArchived: QueryRun has been archived