Layer 2 Blocks
Question:
Q2. How many layer2 StarkNet blocks have been accepted on Ethereum (L1) chain so far? How much fees have been paid(generated) to Ethereum network? Has StarkNet contributed to saving in transaction fees for its users?
Approach:
The acceptance of layer2 StarkNet blocks on Ethereum (L1) identified by the use of updating state by StarkNet operator to StarkNet core contract.
The methodology of this study contains two parts, the first one used for block identification and the second part has been utilized to fee calculation.
-
layer2 StarkNet blocks
from ethereum.core.fact_transactions where FROM_ADDRESS='0x2c169dfe5fbba12957bdd0ba47d9cedbfe260ca7' and TO_ADDRESS='0xc662c410c0ecf747543f5ba90660f6abebd9c8c4' and ORIGIN_FUNCTION_SIGNATURE='0x77552641' and STATUS='SUCCESS'
-
paid(generated) fee
sum(tx_fee) as paid_fee, sum(GAS_USED) as gas from ethereum.core.fact_transactions
-
Detailed fee analysis
3 group of activities on Ethereum blockchian considered select tx_hash from ethereum.core.ez_dex_swaps -- For swaps select tx_hash from ethereum.core.ez_token_transfers -- For token transfer select tx_hash from ethereum.core.ez_nft_sales -- For NFT sales The analysis has been done for the past 60 days.
The key findings of accepted layer2 StarkNet blocks on Ethereum (L1) chain have been listed as below:
- The total accepted blocks is 2036 units and the generated fee for Ethereum network is 32.4 ETH
- The generated fee followed the consistent trend until May 9th and after that date the generated fee increased sharply.
- The main reason of this fee increment on May 9 was the congestion on network due to the panic of market crush.
- Additionally, the count of blocks enlarged since May 10 and its demonstrate the enhancement of application of StarkNet by Ethereum users in Market harsh condition.
Well, in this scatter plot we want to analyze the average paid fee for users of StarkNet and other major platforms of Ethereum network.
The NFT sale and swap activities have the highest average paid fee among these activities. By the use of this plot, it can be seen that the StarkNet has the lowest average fee among various major activities on Ethereum and as question asked StarkNet contributed to saving in transaction fees for its users.