kitlunaMakerDAO/Withdrawal (1)
Updated 2022-09-04
99
1
2
3
4
5
6
7
8
9
10
11
12
›
⌄
SELECT
BLOCK_TIMESTAMP::date AS "date",
COUNT (DISTINCT TX_HASH) AS withdraw_transactions,
COUNT (DISTINCT WITHDRAWER) AS distinct_withdrawer,
a.SYMBOL AS token_withdrawn,
SUM (AMOUNT_WITHDRAWN * PRICE) as volume_withdrawn
FROM ethereum.maker.ez_withdrawals a
LEFT JOIN ethereum.core.fact_hourly_token_prices b
ON HOUR = BLOCK_TIMESTAMP::date
AND a.symbol = b.symbol
WHERE BLOCK_TIMESTAMP >= '2022-01-01' AND TX_STATUS = 'SUCCESS'
GROUP BY "date", a.SYMBOL
Run a query to Download Data