Analysis of Gas Fee Patterns in Blockchain Transactions - A Case Study on Ethereum Smart Contracts
Main Article Content
Gas fees play a crucial role in Ethereum blockchain transactions, directly affecting the cost and efficiency of decentralized applications. This study analyzes gas fee patterns across transaction types, temporal trends, and anomalous behaviors using a dataset of 1,000 Ethereum transactions. The results reveal that the average gas price was 120.5 Gwei, with a standard deviation of 45.2 Gwei, highlighting significant variability. Smart contract functions exhibited varying gas usage, with mint operations consuming the highest average gas (1,500,000 units) compared to approve (1,200,000 units) and transfer (800,000 units). A positive correlation (r = 0.65) was observed between gas price and value transferred, suggesting that higher-value transactions often incur elevated gas fees. Temporal analysis showed predictable patterns, with peak gas prices occurring between 13:00 - 17:00 UTC during high network activity and lower prices between 02:00 - 06:00 UTC. Additionally, anomaly detection identified 15 outlier transactions, including one with an unusually high gas price of 500 Gwei, reflecting network congestion or prioritization strategies. These findings provide actionable insights for optimizing transaction costs and improving smart contract efficiency. Future research could explore layer-2 scaling solutions, alternative fee mechanisms, and machine learning approaches for gas price prediction. This study contributes to a deeper understanding of Ethereum’s gas fee dynamics, offering valuable guidance for developers, users, and researchers in the blockchain ecosystem.