mariyaAlgorand -daily # of USDC transactions
Updated 2022-04-18
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
›
⌄
with USDC_vol_algorand_from as (
select sum(swap_from_amount) as USDC_from_amount ,to_date(block_timestamp) as swapdate from algorand.swaps where
swapdate >= '2022-01-01' and swap_from_asset_id=31566704
group by swapdate)
,USDC_vol_algorand_to as (
select sum(swap_to_amount) as USDC_to_amount ,to_date(block_timestamp) as swapdate from algorand.swaps where
swapdate >= '2022-01-01' and swap_to_asset_id =31566704
group by swapdate)
, USDC_num_algorand as (select count(*) as USDC_from_count,to_date(block_timestamp) as swapdate from algorand.swaps where
swapdate >= '2022-01-01' and (swap_from_asset_id=31566704 or swap_to_asset_id =31566704)
group by swapdate)
,USDC_avg_algorand_from as (select (sum(swap_from_amount)/count(*)) as USDC_from_avg, sum(swap_from_amount),count(*) from algorand.swaps where
to_date(block_timestamp) >= '2022-01-01' and swap_from_asset_id=31566704
)
,USDC_avg_algorand_to as (select (sum(swap_to_amount)/count(*)) as USDC_avg, sum(swap_to_amount),count(*) from algorand.swaps where
to_date(block_timestamp) >= '2022-01-01' and swap_to_asset_id =31566704
)
select * from USDC_num_algorand
Run a query to Download Data