A Machine Learning Approach for Gas Price Prediction in Ethereum Blockchain

被引:12
|
作者
Mars, Rawya [1 ]
Abid, Amal [1 ]
Cheikhrouhou, Saoussen [1 ,2 ]
Kallel, Slim [1 ,2 ]
机构
[1] Univ Sfax, ReDCAD, Sfax, Tunisia
[2] Digital Res Ctr Sfax, Sfax, Tunisia
关键词
Blockchain; Ethereum; Gas Price oracle; machine learning; Gas Mechanism;
D O I
10.1109/COMPSAC51774.2021.00033
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Ethereum is a blockchain-based platform that provides a global computational infrastructure to run smart contracts. In order to assign a cost to smart contract and transaction execution, the Ethereum Blockchain adopts a gas-based metering approach which is designed to motivate miners to operate the network and protect it against attacks. More precisely, miners receive fees from all transactions included in the mined block in addition to the mining reward. Hence, the higher the gas price in the transactions, the higher the fee paid to the miner will be, resulting in faster selection and execution of higher priced gas transactions. Therefore, an Ethereum transaction sender is exposed to the non-trivial task of having to choose an optimal gas price, as underpaying likely results in a transaction not being picked by miners, whereas overpaying leads to superfluous costs. This paper provides recommendation approach that proposes an appropriate gas price to users. More precisely, it investigates different approaches of forecasting algorithms applied for gas price predictions for the next block in Ethereum Blockchain. The gas price is predicted using the Prophet model and the deep learning models, Long-Short Term Memory (LSTM) and Gated Recurrent Unit (GRU). It also aims to compare these approaches with the most used gas price oracles. An evaluation of the obtained results show that the LSTM and GRU proposed models outperform Prophet model as well as the gas price oracle Geth. In this case, LSTM and GRU provide a low mean squared error (MSE) of 0,008 whereas Geth gives an MSE of 0.016 and Prophet gives an MSE of 0.014.
引用
收藏
页码:156 / 165
页数:10
相关论文
共 50 条
  • [1] Gas Price Prediction Based on Machine Learning Combined with Ethereum Mempool
    Lan, Dongwan
    Wang, Hao
    Yin, Changchun
    Zhou, Lu
    Ge, Chunpeng
    Lu, Xiaozhen
    [J]. 2022 IEEE 19TH INTERNATIONAL CONFERENCE ON MOBILE AD HOC AND SMART SYSTEMS (MASS 2022), 2022, : 346 - 354
  • [2] Prediction of the price of Ethereum blockchain cryptocurrency in an industrial finance system
    Poongodi, M.
    Sharma, Ashutosh
    Vijayakumar, V.
    Bhardwaj, Vaibhav
    Sharma, Abhinav Parkash
    Iqbal, Razi
    Kumar, Rajiv
    [J]. COMPUTERS & ELECTRICAL ENGINEERING, 2020, 81
  • [3] Wait or Reset Gas Price?: A Machine Learning-based Prediction Model for Ethereum Transactions' Waiting Time
    Fajge, Akshay M.
    Goswami, Subhasish
    Srivastava, Arpit
    Halder, Raju
    [J]. 2021 IEEE 20TH INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS (TRUSTCOM 2021), 2021, : 1153 - 1160
  • [4] A Machine Learning Approach for Stock Price Prediction
    Leung, Carson Kai-Sang
    MacKinnon, Richard Kyle
    Wang, Yang
    [J]. PROCEEDINGS OF THE 18TH INTERNATIONAL DATABASE ENGINEERING AND APPLICATIONS SYMPOSIUM (IDEAS14), 2014, : 274 - 277
  • [5] Effect of the Gas Price Surges on User Activity in the DAOs of the Ethereum Blockchain
    Faqir-Rhazoui, Youssef
    Ariza-Gazon, Miller-Janny
    Arroyo, Javier
    Hassan, Samer
    [J]. EXTENDED ABSTRACTS OF THE 2021 CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS (CHI'21), 2021,
  • [6] Performance Scrutiny of Price Prediction on Blockchain Technology Using Machine Learning
    Aich, Jayanta
    Mulla, Nilofar
    Kalita, Swapnil
    Kaur, Navjot
    Singh, Someet
    [J]. JOURNAL OF ELECTRICAL SYSTEMS, 2024, 20 (07) : 446 - 452
  • [7] Predicting Ethereum prices with machine learning based on Blockchain information
    Kim, Han-Min
    Bock, Gee-Woo
    Lee, Gunwoong
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2021, 184
  • [8] A Framework for Airfare Price Prediction: A Machine Learning Approach
    Wang, Tianyi
    Pouyanfar, Samira
    Tian, Haiman
    Tao, Yudong
    Alonso, Miguel
    Luis, Steven
    Chen, Shu-Ching
    [J]. 2019 IEEE 20TH INTERNATIONAL CONFERENCE ON INFORMATION REUSE AND INTEGRATION FOR DATA SCIENCE (IRI 2019), 2019, : 200 - 207
  • [9] Bitcoin Price Prediction: A Machine Learning Sample Dimension Approach
    Ranjan, Sumit
    Kayal, Parthajit
    Saraf, Malvika
    [J]. COMPUTATIONAL ECONOMICS, 2023, 61 (04) : 1617 - 1636
  • [10] Bitcoin Price Prediction: A Machine Learning Sample Dimension Approach
    Sumit Ranjan
    Parthajit Kayal
    Malvika Saraf
    [J]. Computational Economics, 2023, 61 : 1617 - 1636