eferLido analysis (Playground)
Updated 2022-06-19
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
›
⌄
⌄
WITH deposits AS(
SELECT
DATE_TRUNC('day', BLOCK_TIMESTAMP) AS datetime,
SUM(ETH_VALUE) AS val,
COUNT(*) AS cnt,
COUNT(DISTINCT FROM_ADDRESS) AS unique_address
FROM ethereum.core.fact_traces
WHERE TO_ADDRESS='0xae7ab96520de3a18e5e111b5eaab095312d7fe84'
AND INPUT LIKE '0xa1903eab%'
GROUP BY datetime
)
SELECT
CAST(datetime AS DATE) AS formatted_date,
/* CONCAT(DAY(datetime), '-', MONTHNAME(datetime)) AS human_date, */
CAST(val AS INT) AS ETH_submitted,
cnt AS deposits,
unique_address AS unique_sender
FROM deposits
ORDER BY 1 DESC
LIMIT 90;
/*
ethereum.core.dim_contracts
ethereum.core.ez_token_transfers
token price
datetime POSIX have a range
DAYNAMES
DAY by DAY
Month by Month
DAY of the Week
Now and Posix in flipside
*/
Run a query to Download Data