datavortextrades over time
Updated 2024-10-07
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
›
⌄
SELECT
DATE_TRUNC('day', block_timestamp) AS "sale date",
SUM(price_usd) AS "daily volume(usd)",
COUNT(DISTINCT tx_hash) AS "transaction count",
SUM(SUM(price_usd)) OVER (
ORDER BY
DATE_TRUNC('day', block_timestamp)
) AS "cumulative volume(usd)",
SUM(COUNT(DISTINCT tx_hash)) OVER (
ORDER BY
DATE_TRUNC('day', block_timestamp)
) AS "cumulative transaction count"
FROM
arbitrum.nft.ez_nft_sales
WHERE
block_timestamp >= CURRENT_TIMESTAMP - INTERVAL '30 DAY'
GROUP BY
"sale date"
ORDER BY
"sale date" ASC;
QueryRunArchived: QueryRun has been archived