adriaparcerisasSolana Onboarding NFTs first week debut 2
Updated 2022-06-15
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
›
⌄
with
first_txs as (
SELECT
distinct signers[0] as news,
min(block_timestamp) as first_tx
from solana.core.fact_transactions
group by 1
),
transactions as (
select
fns.block_timestamp,
fns.purchaser,
fns.tx_id,
dnm.contract_name
from solana.fact_nft_sales fns
join solana.dim_nft_metadata dnm on fns.mint = dnm.mint
),
matches as (
select
first_tx,
contract_name as nft_collection,
purchaser
from first_txs ft
join transactions t on t.purchaser=ft.news and trunc(t.block_timestamp,'day') between trunc(ft.first_tx,'day') and trunc(ft.first_tx,'day')+INTERVAL '7 DAYS'
)
select
nft_collection,
count(distinct purchaser) as wallets
from matches
group by 1
order by 2 desc
Run a query to Download Data