nasdfajsklj2024-04-22 FEES IN JOINED
Updated 2024-04-22
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
›
⌄
with ETH as (
select
block_timestamp::date as date
,'ETH' as chain
, sum(amount_usd) as usd_in
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
group by block_timestamp::date
order by 1 desc
)
, BASE as (
select
block_timestamp::date as date
,'BASE' as chain
, sum(amount_usd) as usd_in
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
group by block_timestamp::date
order by 1 desc
)
, BNB as (
select
block_timestamp::date as date
,'BNB' as chain
, sum(amount_usd) as usd_in
from base.core.ez_token_transfers
where 1=1
and to_address = '0xc8c0e780960f954c3426a32b6ab453248d632b59'
and block_timestamp::date > '2024-04-05'
QueryRunArchived: QueryRun has been archived