datavortexmontly stat per stable coins
Updated 2025-01-21
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
›
⌄
SELECT
DATE_TRUNC('month', block_timestamp) AS "Month",
symbol AS "Stablecoin",
COUNT(DISTINCT sender_id) AS "Withdrawer",
COUNT(DISTINCT tx_hash) AS "Total Withdraw Transactions",
SUM(amount_usd) AS "Total Withdrawn Volume",
AVG(amount_usd) AS "Avg Withdrawn Amount"
FROM
near.defi.ez_lending
WHERE
symbol IN (
'USDT',
'USDt',
'DAI',
'FRAX',
'USDT.e',
'USDC.e',
'USN'
)
AND actions = 'withdraw_succeeded'
GROUP BY
DATE_TRUNC('month', block_timestamp), symbol
ORDER BY
"Month", symbol;
QueryRunArchived: QueryRun has been archived