USER | N_SWAPS | NFT_PURCHASES | |
---|---|---|---|
1 | 0x664e3a3a6a6fa524d06f4d612fe8440b923574bd | 1 | 920 |
2 | 0x1ea27bce786a81022dfc156059771e8d3279a9a6 | 3 | 831 |
3 | 0x85a7951a4d6cbe216da59f169774510f0f172e86 | 1 | 595 |
4 | 0x29dff6fa81f81e68a2237113fe8441954a54e2ea | 1 | 484 |
5 | 0x917660a684d89f4713d2e22054fec8ea2e29c11a | 85 | 413 |
6 | 0x337abb5bde61c7040e50a200dd2900c23887aa19 | 1 | 383 |
7 | 0x4fb1136a1122b2312089b0a7ba2111866a6f7b59 | 1 | 353 |
8 | 0x5922e0625f4227f9433dbbd04fbc7c2fcda6fd7f | 1 | 309 |
9 | 0xfae784c12e980ca08546937f69b8a6cbf0abc361 | 5 | 300 |
10 | 0xc0986d68e483376291922a5aa3a5a8cd8928e523 | 16 | 276 |
11 | 0xea1974c5cf43aaab83d7471095d887a9d6871ec9 | 201 | 274 |
12 | 0xac3f4f024d7ccc4a40cf174f3641178eacffd114 | 2 | 244 |
13 | 0x1277f5266dead289eb6ab3f97a866f5854feb33d | 183 | 243 |
14 | 0xcc1cb0fa339eb32e436dce1ba752bda72fc6edfe | 2 | 227 |
15 | 0xf65699826f87939525fdee8b5596714a09c36bbc | 3 | 221 |
16 | 0x4d95b828b1b9df7dd1e4640b0389cc766a7f78f7 | 2 | 220 |
17 | 0x4d08a1ec94ca749be19a9209541ad4590375421d | 6 | 211 |
18 | 0x9e6dbfec934b50249a43fb991348ca1747f3c2cb | 33 | 211 |
19 | 0x9455136a22d5f635f40703ffa42cbed1112129fe | 2 | 202 |
20 | 0xeb79f3b9836e14678abdb862aabfc171341b3199 | 5 | 202 |
yusyusGetting Started
Updated 2025-01-06
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
›
⌄
-- Get started with Flipside by running your first query:
-- the SQL statement below will get you a list of NFT
-- platforms on Ethereum, ranked by how many sales
-- they've had in the past month.
-- Be sure to see our documentation for more guidance,
-- including a full walkthrough of the app:
-- https://docs.flipsidecrypto.xyz/our-app/getting-started
with uniswap AS
(select origin_from_address, tx_hash
--platform,
--count(tx_hash) as n_swaps
FROM ethereum.defi.ez_dex_swaps
where block_timestamp :: DATE >= current_date - 31
AND
platform in ('uniswap-v2', 'uniswap-v3')
--group by 1
)
SELECT uniswap.origin_from_address as user,
count(DISTINCT uniswap.tx_hash) as n_swaps,
count(DISTINCT nft.tx_hash) as nft_purchases
FROM uniswap
JOIN ethereum.nft.ez_nft_sales nft
ON uniswap.origin_from_address = nft.buyer_address
WHERE nft.block_timestamp :: DATE >= current_date - 31
GROUP by 1
ORDER by 3 DESC
Last run: 3 months ago
...
21767
1MB
7s