vendettaTx count tiers copy
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 tbl AS
(
SELECT
from_address,
count (DISTINCT tx_hash) as total_tx
from polygon.core.fact_transactions
GROUP by 1
having total_tx >4
)
SELECT
count (DISTINCT from_address) as "Total address",
'more than 4 tx' as Tier
from tbl)
union all
(with tbl AS
(
SELECT
from_address,
count (DISTINCT tx_hash) as total_tx
from polygon.core.fact_transactions
GROUP by 1
having total_tx >10
)
SELECT
count (DISTINCT from_address) as "Total address",
'more than 10 tx' as Tier
from tbl)
union all
(with tbl AS
(
Run a query to Download Data