MLDZMNterradash4
Updated 2023-01-10Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
›
⌄
select
BLOCK_TIMESTAMP::DATE as date,
TX_SUCCEEDED,
count(distinct tx_id) as no_txn,
count(distinct TX_SENDER) as no_wallets,
sum(FEE) as paid_fee,
avg(FEE) as avg_fee,
sum(no_wallets) over (partition by TX_SUCCEEDED order by date) as cum_wallets,
sum(no_txn) over (partition by TX_SUCCEEDED order by date) as cum_txn
--round( (txs/all_tx)*100)
from terra.core.fact_transactions
where BLOCK_TIMESTAMP>='2022-12-25'
group by 1,2
Run a query to Download Data