0xHaM-dFlowverse - Time based Cohort Wide
Updated 2024-09-07
999
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 Near - Time based Cohort Wide @ https://flipsidecrypto.xyz/studio/queries/97dfffc0-0fba-4665-b578-a0d841933cf9
-- forked from Avalanche - Time based Cohort Wide @ https://flipsidecrypto.xyz/edit/queries/30c5c221-2545-4cab-a7f8-d5101c110db0
-- forked from Vertex - Time based Cohort Wide @ https://flipsidecrypto.xyz/edit/queries/bf6452ec-d6f2-4a55-b0ff-65a4b16265d6
-- forked from Aptos - Time based Cohort Wide @ https://flipsidecrypto.xyz/edit/queries/e35e250f-faea-4ec5-9d2c-e44fb9350b9d
-- forked from Terra Time based Cohort Wide @ https://flipsidecrypto.xyz/edit/queries/b47e0739-b3bf-473e-aa3a-55b074804e8e
with qmain as (
SELECT
BLOCK_TIMESTAMP,
tx_id,
buyer as user
from flow.nft.ez_nft_sales
WHERE marketplace in (
'A.4eb8a10cb9f87357.NFTStorefront',
'A.4eb8a10cb9f87357.NFTStorefrontV2'
)
UNION ALL
SELECT
BLOCK_TIMESTAMP,
tx_id,
SELLER as user
from flow.nft.ez_nft_sales
WHERE marketplace in (
'A.4eb8a10cb9f87357.NFTStorefront',
'A.4eb8a10cb9f87357.NFTStorefrontV2'
)
)
, base_table as ( -- this is data prep
select
user as address
QueryRunArchived: QueryRun has been archived