hrst79average-ivory copy
Updated 2024-09-20
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
30
31
32
33
34
35
36
›
⌄
-- forked from average-ivory @ https://flipsidecrypto.xyz/studio/queries/a25effaa-809e-4172-8798-57b56ec6bfc7
with base as (
select --date_trunc('hour',block_timestamp) as date,
--symbol as token,
--sum(amount) as amount,
sum(amount_usd) as amount_usd
from ethereum.core.ez_token_transfers
where to_address in ('0x940362b46faf7df48af1c8989d809f50466b5fca','0xf7e8033366166f92eb477b7b38e0d47d47b43326','0x719981cf7d1a1dc681a1cf0c6b1eeee090d0fed6')
--group by 1--,2
UNION all
select --date_trunc('hour',block_timestamp) as date,
--symbol as token,
--sum(amount) as amount,
sum(amount_usd) as amount_usd
from polygon.core.ez_token_transfers
where to_address in ('0x940362b46faf7df48af1c8989d809f50466b5fca','0xf7e8033366166f92eb477b7b38e0d47d47b43326','0x719981cf7d1a1dc681a1cf0c6b1eeee090d0fed6')
--group by 1--,2
UNION all
select --date_trunc('hour',block_timestamp) as date,
--symbol as token,
--sum(amount) as amount,
sum(amount_usd) as amount_usd
from arbitrum.core.ez_token_transfers
where to_address in ('0x940362b46faf7df48af1c8989d809f50466b5fca','0xf7e8033366166f92eb477b7b38e0d47d47b43326','0x719981cf7d1a1dc681a1cf0c6b1eeee090d0fed6')
--group by 1--,2
UNION all
select --date_trunc('hour',block_timestamp) as date,
--symbol as token,
--sum(amount) as amount,
QueryRunArchived: QueryRun has been archived