flipside
Insights
Studio
Quests
For Chains
For Analysts
For Explorers
About
Log in
Sign up
flipside
23. [Easy] Swap Size - By date
binhachon
23. [Easy] Swap Size - By date
Updated 2021-12-05
Copy Reference
Fork
99
1
2
3
4
5
6
7
8
9
10
›
⌄
select
date_trunc
(
'day'
,
block_timestamp
)
as
blocktime
,
avg
(
from_amount_usd
)
as
daily_swap_size
from
thorchain
.
swaps
where
block_timestamp
>
getdate
(
)
-
interval
'90 days'
group
by
blocktime
Results