Specterdistribution by tx
Updated 2024-09-10
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
›
⌄
WITH ARBstylus AS (
SELECT tx_hash, COUNT(TOKENID) AS mints
FROM arbitrum.nft.ez_nft_transfers
WHERE nft_address = '0x78072889ee4d7fe1a100c25296aabbea32e92bea'
--AND tx_hash = '0xae20285f339e79c26eb177bc54c009cb20faa6528d54d95b93302ffbc963aecf'
AND event_type = 'mint'
AND block_timestamp >= '2024-09-09'
GROUP BY tx_hash
)
SELECT
COUNT(DISTINCT tx_hash) AS transaction,
CASE
WHEN mints = 1 THEN '1 NFT'
WHEN mints = 2 THEN '2 NFT'
WHEN mints = 3 THEN '3 NFT'
WHEN mints = 4 THEN '4 NFT'
WHEN mints = 5 THEN '5 NFT'
ELSE NULL
END AS amount_range
FROM ARBstylus
WHERE amount_range != ('')
GROUP BY amount_range
QueryRunArchived: QueryRun has been archived