mmdrezaDaily Averagae
Updated 2022-10-07
99
1
2
3
4
5
6
7
8
9
10
11
12
13
›
⌄
select
date_trunc('day',block_timestamp)as date,
count(distinct tx_id) as "transactions",
sum(TX:body:messages[0]:amount[0]:amount)/pow(10,6) as "LUNA volume",
sum(fee) as "fees",
count(distinct TX:body:messages[0]:from_address) as "unique senders",
count(distinct TX:body:messages[0]:to_address) as "unique receivers",
("LUNA volume" / "transactions") as "average amount per txn"
from terra.core.fact_transactions
where tx:body:messages[0]:amount[0]:denom = 'uluna'
and block_timestamp > '2022-05-27'
and tx_succeeded = true
group by date order by date asc
Run a query to Download Data