Afonso_DiazBalance of pools
Updated 2024-10-08
99
1
2
3
4
5
6
7
8
9
10
›
⌄
select
date_trunc('{{ period }}', block_timestamp) as date,
split(pool_name, '-')[0] as pool_name,
avg (iff(rune_amount_usd > 0, rune_amount_usd, asset_amount_usd)) as balance_usd
from
thorchain.defi.fact_pool_block_balances
where
block_timestamp between '{{ start_date }}' and '{{ end_date }}'
group by 1, 2
order by 1, 2
QueryRunArchived: QueryRun has been archived