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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Greenberg, A.: https://www.forbes.com/forbes/2011/0509/technology-psilocybin-bitcoins-gavin-andresen-crypto-currency.html#7c44500c353e. Accessed 31 Jan 2019
Payette, J., Schwager, S., Murphy, J.: Characterizing the Ethereum Address Space. http://cs229.stanford.edu/proj2017/final-reports/5244232.pdf. Accessed 02 Feb 2019
Genesis Block. https://en.bitcoin.it/wiki/Genesis_block. Accessed 02 Feb 2019
Saraf, C., Sabadra, S.: Blockchain platforms: a compendium. In: IEEE International Conference on Innovative Research and Development (ICIRD) 2018, Bangkok pp. 1–6 (2018)
Wood, G.: Ethereum: a secure decentralised generalised transaction ledger. https://gavwood.com/paper.pdf. Accessed 02 Feb 2019
Merkle Tree. https://en.wikipedia.org/wiki/Merkle_tree. Accessed 02 Feb 2019
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)
Chen, M., Narwal, N., Schultz, M.: Predicting price changes in Ethereum. http://cs229.stanford.edu/proj2017/final-reports/5244039.pdf. Accessed 02 May 2019
https://etherscan.io/. Accessed 15 Jan 2019
https://etherscan.io/txsPending. Accessed 15 Jan 2019
https://imbalanced-learn.readthedocs.io/en/stable/api.html. Accessed 05 Feb 2019
Zhang, H.: The Optimality of Naïve Bayes. http://www.cs.unb.ca/~hzhang/publications/FLAIRS04ZhangH.pdf. Accessed 05 Feb 2019
Ioffe, S., Szegedy, C.: Batch normalization: accelerating deep network training by reducing internal covariate shift. Cornell University Library. arXiv:1502.03167, March 2015
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)
https://www.tensorflow.org/api_docs/python/tf/train/AdagradOptimizer. Accessed 05 Feb 2019
McHugh, M.: Interrater reliability: the kappa statistic. Biochem. Med. 22(3), 276–282 (2012)
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
Winham, S., Freimuth, R., Biernacka, J.: A weighted random forest approach to improve predictive performance. Stat. Anal. Data Min. 6(6), 496–505 (2013)
Ethereum Network Status. https://ethstats.net/. Accessed 15 Jan 2019
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
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
DOI: https://doi.org/10.1007/978-3-030-23813-1_16
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-23812-4
Online ISBN: 978-3-030-23813-1
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)