Afonso_Diaz2023-08-23 11:39 PM
Updated 2023-08-23
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 main as (
select
tx_hash,
block_timestamp,
origin_from_address as user,
token_amount_usd,
token_amount,
eth_amount,
eth_amount_usd,
'Deposit' as type
from ethereum.defi.ez_liquid_staking_deposits
where platform = 'rocketpool'
union all
select
tx_hash,
block_timestamp,
origin_from_address as user,
token_amount_usd,
token_amount,
eth_amount,
eth_amount_usd,
'Withdraw' as type
from ethereum.defi.ez_liquid_staking_withdrawals
where platform = 'rocketpool'
)
select
case
when eth_amount_usd <= 5 then 'Less than 5$'
when eth_amount_usd <= 10 then '6$ - 10$'
when eth_amount_usd <= 20 then '11$ - 20$'
when eth_amount_usd <= 50 then '21$ - 50$'
when eth_amount_usd <= 100 then '51$ - 100$'
when eth_amount_usd <= 1000 then '101$ - 1000$'
Run a query to Download Data