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 条
  • [11] A Machine Learning-Based Approach for Crop Price Prediction
    Gururaj, H. L.
    Janhavi, V.
    Lakshmi, H.
    Soundarya, B. C.
    Paramesha, K.
    Ramesh, B.
    Rajendra, A. B.
    [J]. JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2024, 33 (03)
  • [12] LGBM: a machine learning approach for Ethereum fraud detection
    Aziz R.M.
    Baluch M.F.
    Patel S.
    Ganie A.H.
    [J]. International Journal of Information Technology, 2022, 14 (7) : 3321 - 3331
  • [13] Bitcoin daily price prediction through understanding blockchain transaction pattern with machine learning methods
    Xiao Li
    Linda Du
    [J]. Journal of Combinatorial Optimization, 2023, 45
  • [14] Bitcoin daily price prediction through understanding blockchain transaction pattern with machine learning methods
    Li, Xiao
    Du, Linda
    [J]. JOURNAL OF COMBINATORIAL OPTIMIZATION, 2023, 45 (01)
  • [15] An Extreme Learning Machine Model Approach on Airbnb Base Price Prediction
    Priambodo, Fikri Nurqahhari
    Sihabuddin, Agus
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2020, 11 (11) : 179 - 185
  • [16] A Holistic Approach on Airfare Price Prediction Using Machine Learning Techniques
    Kalampokas, Theofanis
    Tziridis, Konstantinos
    Kalampokas, Nikolaos
    Nikolaou, Alexandros
    Vrochidou, Eleni
    Papakostas, George A.
    [J]. IEEE ACCESS, 2023, 11 : 46627 - 46643
  • [17] Gas consumption analysis of Ethereum blockchain transactions
    Khan, Muhammad Milhan Afzal
    Sarwar, Hafiz Muhammad Azeem
    Awais, Muhammad
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2022, 34 (04):
  • [18] Enhancing Stock Price Prediction with a Hybrid Approach Based Extreme Learning Machine
    Wang, Feng
    Zhang, Yongquan
    Xiao, Hang
    Kuang, Li
    Lai, Yi
    [J]. 2015 IEEE INTERNATIONAL CONFERENCE ON DATA MINING WORKSHOP (ICDMW), 2015, : 1568 - 1575
  • [19] Bitcoin price prediction using machine learning: An approach to sample dimension engineering
    Chen, Zheshi
    Li, Chunhong
    Sun, Wenjun
    [J]. JOURNAL OF COMPUTATIONAL AND APPLIED MATHEMATICS, 2020, 365
  • [20] An Intelligent Business Model for Product Price Prediction Using Machine Learning Approach
    Mahoto, Naeem Ahmed
    Iftikhar, Rabia
    Shaikh, Asadullah
    Asiri, Yousef
    Alghamdi, Abdullah
    Rajab, Khairan
    [J]. INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2021, 30 (01): : 147 - 159