Pine Analyticsslow-coral copy
Updated 2025-03-08
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
›
⌄
-- forked from slow-coral @ https://flipsidecrypto.xyz/studio/queries/80773d31-2270-4094-9218-3b87b9996d62
select
count(distinct from_address) as swappers,
count(Distinct tx_id) as transactions,
sum(case when not FROM_AMOUNT_USD is null then FROM_AMOUNT_USD else to_AMOUNT_USD end) as swap_volume_Usd
from maya.defi.fact_swaps
where BLOCK_TIMESTAMP > current_date - 30
QueryRunArchived: QueryRun has been archived