BlockTrackerweekly
Updated 2025-02-25
99
1
2
3
4
5
6
7
8
9
10
11
12
13
›
⌄
select
date_trunc('week', block_timestamp) as date,
sum(coalesce(from_amount_usd, to_amount_usd)) as volume,
count(DISTINCT tx_id) as n_swaps,
count(DISTINCT from_address) as n_swappers ,
sum(liq_fee_rune_usd) as liquidity_fee
from thorchain.defi.fact_swaps
where tx_id not in (select tx_id from thorchain.defi.fact_refund_events)
and date >= '{{start_date}}'
group by 1
order by date desc
QueryRunArchived: QueryRun has been archived