freemartianUntitled Query
Updated 2022-11-15
9
1
2
3
4
5
6
7
8
9
›
⌄
select
sum(TRANSACTION_FEE/pow(10,24)) as Fee_in_near,
sum(TRANSACTION_FEE/pow(10,24)) * avg(price_usd) as Fee_in_usd,
avg(price_usd) as near_price
from near.core.fact_transactions inner join near.core.fact_prices p
on TIMESTAMP::date = block_timestamp::date
where block_timestamp > CURRENT_DATE - 31
and tx_status = 'Success'
and symbol = 'wNEAR'
Run a query to Download Data