0xtollexOM Cex Transaction
Updated 2024-04-05
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
27
›
⌄
With OM as (
SELECT
date_trunc('week', block_timestamp) as Date,
a.tx_hash,
a.to_address,
a.amount_usd,
symbol
FROM ethereum.core.ez_token_transfers a
JOIN crosschain.core.dim_labels c on a.from_address = c.address
WHERE
label_type = 'cex'
AND symbol = 'OM'
)
SELECT
OM.Date as date,
count(DISTINCT OM.tx_hash) as Total_Transaction,
count(DISTINCT OM.to_address) as Total_Active_Trader,
sum(OM.amount_usd) as Total_Volume_Traded,
avg(OM.amount_usd) as Avg_volume
FROM OM
GROUP BY 1
QueryRunArchived: QueryRun has been archived