nasdfajsklj2024-06-14 08:47 PM
Updated 2024-06-24
999
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
›
⌄
with data as (
select
date_trunc('hour', block_timestamp)::timestamp as date_hour
, amount_usd
,origin_to_address
from ethereum.core.ez_token_transfers
where 1=1
and to_address = '0xc8c0e780960f954c3426a32b6ab453248d632b59'
and block_timestamp::date > '2024-04-05'
and origin_from_address != '0xc8c0e780960f954c3426a32b6ab453248d632b59' -- excludes our swaps, when we conver tokens to weth/usdc
UNION ALL
select
date_trunc('hour', block_timestamp)::timestamp as date_hour
, amount_usd
,origin_to_address
from base.core.ez_token_transfers
where 1=1
and to_address = '0xc8c0e780960f954c3426a32b6ab453248d632b59'
and block_timestamp::date > '2024-04-05'
and origin_from_address != '0xc8c0e780960f954c3426a32b6ab453248d632b59' -- excludes our swaps, when we conver tokens to weth/usdc
UNION ALL
select
date_trunc('hour', block_timestamp)::timestamp as date_hour
, amount_usd
,origin_to_address
from bsc.core.ez_token_transfers
where 1=1
and to_address = '0xc8c0e780960f954c3426a32b6ab453248d632b59'
and block_timestamp::date > '2024-04-05'
and origin_from_address != '0xc8c0e780960f954c3426a32b6ab453248d632b59' -- excludes our swaps, when we conver tokens to weth/usdc
QueryRunArchived: QueryRun has been archived