Skip to main content
Top

2023 | OriginalPaper | Chapter

An Attention-GRU Based Gas Price Prediction Model for Ethereum Transactions

Authors : Yunxia Feng, Yuan Sun, Jing Qu

Published in: Signal and Information Processing, Networking and Computers

Publisher: Springer Nature Singapore

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Each operation on the Ethereum network requires a corresponding gas cost, and the gas price is customized by the user who uses it. Under normal circumstances, the shorter the user’s requirement for the transaction completion time, the higher the gas price should be set. However, users cannot set a reasonable gas price every time, which will cause operation failure or gas waste. Therefore, predicting an affordable gas price is of great significance. We propose a gas price prediction method based on deep learning to find the lowest transaction gas price in the next block and help users save transaction costs. Based on previous research, we obtained influence factors of block gas upper limit, transaction gas upper limit and mining difficulty that cause gas price fluctuations, combined with the attention mechanism to obtain the weight of the influence factor, we use the gated recurrent unit (GRU) neural network to determine the gas price prediction. Extensive experiments based on 2000 actual blocks show that the proposed gas price prediction method has high accuracy and reliable performance, which saves users a large amount of transaction costs; because the appropriate gas price can be predicted, the success rate of users’ transactions increases by 22.9%.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Liu, F., Wang, X., Li, Z., Xu, J., Gao, Y.: Effective gas price prediction for carrying out economical ethereum transaction. In: 2019 6th International Conference on Dependable Systems and Their Applications (DSA), pp. 329–334 (2020). https://doi.org/10.1109/DSA.2019.00050 Liu, F., Wang, X., Li, Z., Xu, J., Gao, Y.: Effective gas price prediction for carrying out economical ethereum transaction. In: 2019 6th International Conference on Dependable Systems and Their Applications (DSA), pp. 329–334 (2020). https://​doi.​org/​10.​1109/​DSA.​2019.​00050
2.
go back to reference Liu, Q.: Research on the prediction method of stock price changes based on neural network model. Beijing University of Posts and Telecommunications (2020) Liu, Q.: Research on the prediction method of stock price changes based on neural network model. Beijing University of Posts and Telecommunications (2020)
3.
go back to reference Buterin, V.: A next-generation smart contract and decentralized application platform. Ethereum White Paper (2014) Buterin, V.: A next-generation smart contract and decentralized application platform. Ethereum White Paper (2014)
4.
go back to reference Chen, T., Li, X., Luo, X., Zhang, X.: Under-optimized smart contracts devour your money. In: Proceedings of SANER, pp. 442–446 (2017) Chen, T., Li, X., Luo, X., Zhang, X.: Under-optimized smart contracts devour your money. In: Proceedings of SANER, pp. 442–446 (2017)
5.
go back to reference Nigam, A., Caswell, N.S.: Business artifacts: an approach to operational specification. IBM Syst. J. 42(3), 428–445 (2003)CrossRef Nigam, A., Caswell, N.S.: Business artifacts: an approach to operational specification. IBM Syst. J. 42(3), 428–445 (2003)CrossRef
6.
go back to reference Chu, J., Nadarajah, S., Chan, S.: Statistical analysis of the exchange rate of Bitcoin. PLoS One 10(7), e0133678 (2015)CrossRef Chu, J., Nadarajah, S., Chan, S.: Statistical analysis of the exchange rate of Bitcoin. PLoS One 10(7), e0133678 (2015)CrossRef
7.
go back to reference Xie, X., Ma, X., Lu, T., Zhang, J.: Research on university invention patent quality evaluation model based on GRU-attention mechanism. Sci. Technol. Manage. Res. 41(07), 79–85 (2021) Xie, X., Ma, X., Lu, T., Zhang, J.: Research on university invention patent quality evaluation model based on GRU-attention mechanism. Sci. Technol. Manage. Res. 41(07), 79–85 (2021)
8.
go back to reference Nadarajah, S., Chu, J.: On the inefficiency of Bitcoin. Econ. Lett. 150, 6–9 (2017)CrossRef Nadarajah, S., Chu, J.: On the inefficiency of Bitcoin. Econ. Lett. 150, 6–9 (2017)CrossRef
9.
go back to reference Jang, H., Lee, J.: An empirical study on modeling and prediction of bitcoin prices with bayesian neural networks based on blockchain information. IEEE Access 6(99), 5427–5437 (2018)CrossRef Jang, H., Lee, J.: An empirical study on modeling and prediction of bitcoin prices with bayesian neural networks based on blockchain information. IEEE Access 6(99), 5427–5437 (2018)CrossRef
11.
go back to reference Zhang, Q., Yan, D., Han, J.: Research on stock price prediction combined with deep learning and decomposition algorithm. Comput. Eng. Appl. 57(05), 56–64 (2021) Zhang, Q., Yan, D., Han, J.: Research on stock price prediction combined with deep learning and decomposition algorithm. Comput. Eng. Appl. 57(05), 56–64 (2021)
12.
go back to reference Li, J., Wang, J., Wang, X., Qiao, G., Luo, H., Gulliver, T.A.: Optimal beamforming design for underwater acoustic communication with multiple unsteady sub-gaussian interferers. IEEE Trans. Veh. Technol. 68(12), 12381–12386 (2019)CrossRef Li, J., Wang, J., Wang, X., Qiao, G., Luo, H., Gulliver, T.A.: Optimal beamforming design for underwater acoustic communication with multiple unsteady sub-gaussian interferers. IEEE Trans. Veh. Technol. 68(12), 12381–12386 (2019)CrossRef
14.
go back to reference Wang, J., et al.: A novel underwater acoustic signal denoising algorithm for Gaussian/non-Gaussian impulsive noise. IEEE Trans. Veh. Technol. 70(1), 429–445 (2021)CrossRef Wang, J., et al.: A novel underwater acoustic signal denoising algorithm for Gaussian/non-Gaussian impulsive noise. IEEE Trans. Veh. Technol. 70(1), 429–445 (2021)CrossRef
Metadata
Title
An Attention-GRU Based Gas Price Prediction Model for Ethereum Transactions
Authors
Yunxia Feng
Yuan Sun
Jing Qu
Copyright Year
2023
Publisher
Springer Nature Singapore
DOI
https://doi.org/10.1007/978-981-19-3387-5_127