StangFAST04 - create drop - chart
Updated 2023-08-04
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
32
33
34
35
36
›
⌄
-- forked from 03 - actions @ https://flipsidecrypto.xyz/edit/queries/008e03a1-72a2-4bf2-8952-e8edd8d93d71
-- forked from 01 - overview chart @ https://flipsidecrypto.xyz/edit/queries/63d65ccc-e611-4df7-8f01-e40a527f1274
-- fact_actions_events_function_call [ 41,595 ]
-- fact_actions_events [ 210,110 ]
-- add_keys -
-- add_to_balance - deposit / 1e24
-- claim -
-- create_account_and_claim -
-- create_drop - deposit / 1e24
-- nft_on_transfer -
-- nft_resolve_transfer -
-- on_claim_fc - balance / 1e24
-- on_claim_nft -
-- on_claim_simple - balance / 1e24
-- withdraw_from_balance -
with
near_price AS
(
SELECT
date_trunc( 'day' , a.timestamp ) AS day
, avg( a.price_usd ) AS price
FROM
near.core.fact_prices a
WHERE
a.symbol = 'wNEAR'
GROUP BY 1
ORDER BY 1 DESC
)
SELECT
Run a query to Download Data