sepehrmhz8Untitled Query
Updated 2022-09-24
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
›
⌄
select case when block_timestamp >= '2022-07-24' and block_timestamp < '2022-09-15' then 'Before Merge'
when block_timestamp >= '2022-09-15' then 'Post Merge' else null end as scheduling,
date(block_timestamp) as date,
count(DISTINCT TX_HASH ) as "Number",
count(DISTINCT ORIGIN_FROM_ADDRESS ) as "Users",
sum(AMOUNT) as "ETH amount",
sum(AMOUNT_USD) as "USD amount"
from ethereum.core.ez_eth_transfers
where ORIGIN_TO_ADDRESS in ('0x99c9fc46f92e8a1c0dec1b1747d010903e884be1' , '0x8315177aB297bA92A06054cE80a67Ed4DBd7ed3a' , '0xae0Ee0A63A2cE6BaeEFFE56e7714FB4EFE48D419' , '0xabea9132b05a70803a4e85094fd0e1800777fbef')
and date >= CURRENT_DATE - 62
group by 1,2
union all
select case when block_timestamp >= '2022-07-22' and block_timestamp < '2022-09-15' then 'Before Merge'
when block_timestamp >= '2022-09-15' then 'Post Merge' else null end as scheduling,
date(block_timestamp) as date,
count(DISTINCT TX_HASH ) as "Number",
count(DISTINCT ORIGIN_FROM_ADDRESS ) as "Users",
sum(AMOUNT) as "ETH amount",
sum(AMOUNT_USD) as "USD amount"
from ethereum.core.ez_token_transfers
where TO_ADDRESS in ('0x99c9fc46f92e8a1c0dec1b1747d010903e884be1' , '0x8315177aB297bA92A06054cE80a67Ed4DBd7ed3a' , '0xae0Ee0A63A2cE6BaeEFFE56e7714FB4EFE48D419' , '0xabea9132b05a70803a4e85094fd0e1800777fbef')
and date >= CURRENT_DATE - 62
group by 1,2
Run a query to Download Data