vendettaDaily Transfer Count copy
Updated 2023-02-14
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 14375ab8-0029-4f3a-b8e7-1ffa251900e8
select
date_trunc('day', block_timestamp) as Day,
date_trunc('month', block_timestamp) as Month,
tx_receiver,
count(*) as Transfer_Count,
sum(deposit / pow(10, 24)) as Amount,
sum(TRANSACTION_FEE / pow(10, 24)) as transaction_fee
from
near.core.fact_transfers
where
tx_receiver in (
select
users
from
(
select
users,
sum(User_Hold) as User_Hold
from
(
select
t1.users,
sum(t1.Aamount_in - t2.Amount_out) as User_Hold
from
(
select
tx_receiver as users,
sum(deposit / pow(10, 24)) as Aamount_in
from
near.core.fact_transfers
group by
users
) as t1
inner join (
Run a query to Download Data