NEAR Gas Guzzlers
In this dashboard, we're gonna see: What contracts are users spending the most gas on to use? How has this changed over the past week? Past month?
Methodology
The goal in this analysis is to find out which contracts on NEAR consumed the most amount of gas.
I have divided this dashboard in three parts:
- Top gas guzzlers from past year: Sum of all the gas they’ve used and the daily gas.
- Top gas guzzlers from past month: Sum of all the gas they’ve used and the daily gas.
- Top gas guzzlers from past week: Sum of all the gas they’ve used and the daily gas.
Note: In order to calculate and present my results, I made my queries on near.core.fact_transactions
table and I considered TX_RECEIVER
as the contract.
About NEAR Protocol and Gas
Near Protocol is a decentralized application (DApp) platform that focuses on usability among developers and users. As a competitor of Ethereum, Near Protocol is also smart-contract capable and a proof-of-stake (PoS) blockchain.
According to NEAR documentations, NEAR has a more-or-less one second block time, accomplished by limiting the amount of gas per block. The gas units have been carefully calculated to work out to some easy-to-think-in numbers:
- 10¹² gas units, or 1 TGas (TeraGas)
- ≈ 1 millisecond of "compute" time
- which, at a minimum gas price of 100 million yoctoNEAR, equals a 0.1 milliNEAR charge.
The common and simple actions on NEAR, have an expected cost:
Operation | TGas | fee (mN) | fee (Ⓝ) |
---|---|---|---|
Create Account | 0.42 | 0.042 | 4.2⨉10⁻⁵ |
Send Funds | 0.45 | 0.045 | 4.5⨉10⁻⁵ |
Stake | 0.50 | 0.050 | 5.0⨉10⁻⁵ |
Add Full Access Key | 0.42 | 0.042 | 4.2⨉10⁻⁵ |
Delete Key | 0.41 | 0.041 | 4.1⨉10⁻⁵ |
More complicated actions are different in costs obviously.
Comparisons and Conclusion
So if we wanna compare the results from the past year to past month and past week, we can clearly see that v1.nearapps.near
and v2.nearapps.near
were inactive in the past month and week.
The highest gas guzzler is Aurora with over 2B gas consume.
The peak for gas, in the last year, was on Jan 16th.
And in the past month, from July 16th to July 21st, we saw the highest gas used.