rajsSolana Swaps
Updated 2022-07-20Copy Reference Fork
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
›
⌄
SELECT
swapper,
count(*) as no_of_swaps,
date_trunc('month', min(block_timestamp)) as first_month
from solana.core.fact_swaps
where swapper IN
(
SELECT
distinct address as address
FROM
(
SELECT
distinct purchaser as address
from solana.core.fact_nft_sales
where mint IN
(
SELECT
address
from solana.core.dim_labels
where address_name = 'communi3: mad scientists'
)
union
SELECT
distinct purchaser as address
from solana.core.fact_nft_mints
where mint IN
(
SELECT
address
from solana.core.dim_labels
where address_name = 'communi3: mad scientists'
)
-- order by 1 desc
)
Run a query to Download Data