datavortexweekly
Updated 2025-01-20
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
›
⌄
SELECT
DATE_TRUNC('month', block_timestamp) AS "Month",
COUNT(DISTINCT sender_id) AS "Depositor",
COUNT(DISTINCT tx_hash) AS "Total Deposit Transactions",
SUM(amount_usd) AS "Total Deposited Volume",
AVG(amount_usd) AS "Avg Deposited Amount"
FROM
near.defi.ez_lending
WHERE
symbol IN (
'USDT',
'USDt',
'DAI',
'FRAX',
'USDT.e',
'USDC.e',
'USN'
)
AND actions IN ('deposit', 'deposit_to_reserve')
GROUP BY
DATE_TRUNC('month', block_timestamp)
ORDER BY
"Month";
QueryRunArchived: QueryRun has been archived