adriaparcerisassweat on near 4
Updated 2023-04-13
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
›
⌄
WITH
t1 as (
SELECT
trunc(block_timestamp,'day') as date,
sum(deposit)/pow(10,24) as near_transferred_out,
count(distinct tx_hash) as transfers_out
FROM near.core.fact_transfers
WHERE status = TRUE
and tx_signer <> 'sweat_welcome.near'
GROUP BY 1
),
t2 as (
SELECT
trunc(block_timestamp,'day') as date,
sum(deposit)/pow(10,24) as near_transferred_out,
count(distinct tx_hash) as transfers_out
FROM near.core.fact_transfers
WHERE tx_signer = 'sweat_welcome.near'
AND status = TRUE
GROUP BY 1
)
SELECT
'Others' as platform,* from t1 where date>='2022-09-01'
union select 'Sweat' as platform,* from t2 where date>='2022-09-01'
order by 1 asc
Run a query to Download Data