misaghlbUniswap V3 WBTC/USDC Pool - daily
Updated 2023-04-29
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
28
29
›
⌄
select
'WBTC => USDC' as dir,
date_trunc('day', block_timestamp) as date,
count (DISTINCT ORIGIN_FROM_ADDRESS) as wallets,
count(DISTINCT tx_hash) as trxs,
sum(AMOUNT_IN_USD) as volume_usd,
avg(AMOUNT_IN_USD) as avg_volume
from ethereum.core.ez_dex_swaps
where PLATFORM='uniswap-v3'
and CONTRACT_ADDRESS='0x99ac8ca7087fa4a2a1fb6357269965a2014abc35'
and SYMBOL_IN='WBTC'
and BLOCK_TIMESTAMP >= current_date - {{days_ago}}
group by date
UNION
select
'USDC => WBTC' as dir,
date_trunc('day', block_timestamp) as date,
count (DISTINCT ORIGIN_FROM_ADDRESS) as wallets,
count(DISTINCT tx_hash) as trxs,
sum(AMOUNT_IN_USD) as volume_usd,
avg(AMOUNT_IN_USD) as avg_volume
from ethereum.core.ez_dex_swaps
where PLATFORM='uniswap-v3'
and CONTRACT_ADDRESS='0x99ac8ca7087fa4a2a1fb6357269965a2014abc35'
and SYMBOL_IN='USDC'
and BLOCK_TIMESTAMP >= current_date - {{days_ago}}
group by date
Run a query to Download Data