Skip to main content

Prediction of Transaction Confirmation Time in Ethereum Blockchain Using Machine Learning

  • Conference paper
  • First Online:

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1010 ))

Abstract

An Ethereum transaction is defined as the method by which the external world interacts with Ethereum. More and more users are getting involved in cryptocurrencies like Ethereum and Bitcoin. With a sudden increase in the number of transactions happening every second and the capital involved in those transactions, there is a need for the users to able to predict whether a transaction would be confirmed and if yes, then how much time would it take for it to be confirmed. This paper aims to use modern machine learning techniques to propose a model that would be able to predict the time frame within which a miner node will accept and include a transaction to a block. The paper also explores the impact of imbalanced data on our chosen classifiers-Bayes, Random Forest and Multi-Layer Perceptron (MLP) with SoftMax output and the alternative performance measures to optimally handle the imbalanced nature of the dataset.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Greenberg, A.: https://www.forbes.com/forbes/2011/0509/technology-psilocybin-bitcoins-gavin-andresen-crypto-currency.html#7c44500c353e. Accessed 31 Jan 2019

  2. Payette, J., Schwager, S., Murphy, J.: Characterizing the Ethereum Address Space. http://cs229.stanford.edu/proj2017/final-reports/5244232.pdf. Accessed 02 Feb 2019

  3. Genesis Block. https://en.bitcoin.it/wiki/Genesis_block. Accessed 02 Feb 2019

  4. Saraf, C., Sabadra, S.: Blockchain platforms: a compendium. In: IEEE International Conference on Innovative Research and Development (ICIRD) 2018, Bangkok pp. 1–6 (2018)

    Google Scholar 

  5. Wood, G.: Ethereum: a secure decentralised generalised transaction ledger. https://gavwood.com/paper.pdf. Accessed 02 Feb 2019

  6. Merkle Tree. https://en.wikipedia.org/wiki/Merkle_tree. Accessed 02 Feb 2019

  7. Bhat, M., Vijayal, S.: A probabilistic analysis on crypto-currencies based on blockchain. In: International Conference on Next Generation Computing and Information Systems (ICNGCIS) 2017, Jammu, pp. 69–74 (2017)

    Google Scholar 

  8. Chen, M., Narwal, N., Schultz, M.: Predicting price changes in Ethereum. http://cs229.stanford.edu/proj2017/final-reports/5244039.pdf. Accessed 02 May 2019

  9. https://etherscan.io/. Accessed 15 Jan 2019

  10. https://etherscan.io/txsPending. Accessed 15 Jan 2019

  11. https://imbalanced-learn.readthedocs.io/en/stable/api.html. Accessed 05 Feb 2019

  12. Zhang, H.: The Optimality of Naïve Bayes. http://www.cs.unb.ca/~hzhang/publications/FLAIRS04ZhangH.pdf. Accessed 05 Feb 2019

  13. Ioffe, S., Szegedy, C.: Batch normalization: accelerating deep network training by reducing internal covariate shift. Cornell University Library. arXiv:1502.03167, March 2015

  14. Srivastava, N., Hinton, G., Krizhevsky, A., Sutskever, I., Salakhutdinov, R.: Dropout: a simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 15(1), 1929–1958 (2014)

    MathSciNet  MATH  Google Scholar 

  15. https://www.tensorflow.org/api_docs/python/tf/train/AdagradOptimizer. Accessed 05 Feb 2019

  16. McHugh, M.: Interrater reliability: the kappa statistic. Biochem. Med. 22(3), 276–282 (2012)

    Article  MathSciNet  Google Scholar 

  17. Frank, E., Hall, M., Pfahringer, B.: Locally Weighted Naïve Bayes. https://www.cs.waikato.ac.nz/~eibe/pubs/UAI_200.pdf. Accessed 05 Feb 2019

  18. Winham, S., Freimuth, R., Biernacka, J.: A weighted random forest approach to improve predictive performance. Stat. Anal. Data Min. 6(6), 496–505 (2013)

    Article  MathSciNet  Google Scholar 

  19. Ethereum Network Status. https://ethstats.net/. Accessed 15 Jan 2019

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Harsh Jot Singh .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Singh, H.J., Hafid, A.S. (2020). Prediction of Transaction Confirmation Time in Ethereum Blockchain Using Machine Learning. In: Prieto, J., Das, A., Ferretti, S., Pinto, A., Corchado, J. (eds) Blockchain and Applications. BLOCKCHAIN 2019. Advances in Intelligent Systems and Computing, vol 1010 . Springer, Cham. https://doi.org/10.1007/978-3-030-23813-1_16

Download citation

Publish with us

Policies and ethics