forgashNEAR Gas
Updated 2022-08-05Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
›
⌄
select
date_trunc('d', block_timestamp) as _date,
case
when gas_used > attached_gas then 'more'
when gas_used < attached_gas then 'less'
when gas_used = attached_gas then 'same'
else 'ERROR'
end as gas_usage,
count(distinct tx_hash) as txs
from near.core.fact_transactions
group by 1,2
order by 1,3;
Run a query to Download Data