nsa2000dot6
Updated 2022-12-14Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
›
⌄
--credit to adriaparcerisas-zZ024F
SELECT
trunc(block_timestamp,'day') as date,
COUNT(DISTINCT tx_id) as transfers,
sum(transfers) over (order by date) as cum_transfers,
sum(amount/power(10, 10)) as amounts,
sum(amounts) over (order by date) as cum_volume,
avg(amount/power(10, 10)) as avg_transfer_amount
FROM osmosis.core.fact_transfers x
join osmosis.core.dim_labels y on x.currency=y.address
WHERE SENDER LIKE 'osmo%'
AND not receiver LIKE 'osmo%' and project_name='DOT.axl'
GROUP BY 1
Run a query to Download Data