Skip to main content

Deep Learning-Based Transaction Prediction in Ethereum

  • Conference paper
  • First Online:
Blockchain and Trustworthy Systems (BlockSys 2021)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1490))

Included in the following conference series:

  • 1766 Accesses

Abstract

In recent years, deep learning has been applied to data analysis in the financial field. One of the important applications is time series prediction. Meanwhile, with the advent of blockchain technology, cryptocurrencies have attracted attention in the financial field and the public. Therefore, there has been a lot of researches done on the time series prediction of cryptocurrencies. However, most of these studies are about predicting the prices of various cryptocurrencies, lacking in predicting the transaction amount. As platforms for trading cryptocurrencies, cryptocurrency exchanges play an important role in the crypto market. In this paper, we collect the transaction data of 15 exchange addresses on Ethereum which is an open-source public blockchain platform with smart contract functions. By modeling the prediction of the transaction value as a time series prediction problem, we conduct experiments using deep learning-based methods to make predictions. Experimental results show that deep learning is more effective in predicting transaction value compared with traditional methods.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.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

Institutional subscriptions

Notes

  1. 1.

    https://etherscan.io/.

References

  1. Azmoodeh, A., Dehghantanha, A., Conti, M., Choo, K.K.R.: Detecting crypto-ransomware in IoT networks based on energy consumption footprint. J. Ambient. Intell. Humaniz. Comput. 9(4), 1141–1152 (2018)

    Article  Google Scholar 

  2. Boireau, O.: Securing the blockchain against hackers. Netw. Secur. 2018(1), 8–11 (2018)

    Article  Google Scholar 

  3. Broadhurst, R., et al.: Malware trends on ‘darknet’crypto-markets: Research review. Available at SSRN 3226758 (2018)

    Google Scholar 

  4. Castro-Neto, M., Jeong, Y.S., Jeong, M.K., Han, L.D.: Online-SVR for short-term traffic flow prediction under typical and atypical traffic conditions. Expert Syst. Appl. 36(3), 6164–6173 (2009)

    Article  Google Scholar 

  5. Chen, K., Zhou, Y., Dai, F.: A LSTM-based method for stock returns prediction: a case study of china stock market. In: Proceedings of 2015 IEEE International Conference on Big Data, pp. 2823–2824. IEEE, Santa Clara (2015)

    Google Scholar 

  6. Chen, W., Zheng, Z., Cui, J., Ngai, E., Zheng, P., Zhou, Y.: Detecting ponzi schemes on ethereum: towards healthier blockchain technology. In: Proceedings of the 2018 World Wide Web Conference, pp. 1409–1418 (2018)

    Google Scholar 

  7. Cho, K., et al.: Learning phrase representations using RNN encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078 (2014)

  8. Connor, J.T., Martin, R.D., Atlas, L.E.: Recurrent neural networks and robust time series prediction. IEEE Trans. Neural Networks 5(2), 240–254 (1994)

    Article  Google Scholar 

  9. Contreras, J., Espinola, R., Nogales, F.J., Conejo, A.J.: Arima models to predict next-day electricity prices. IEEE Trans. Power Syst. 18(3), 1014–1020 (2003)

    Article  Google Scholar 

  10. Crosby, M., Pattanayak, P., Verma, S., Kalyanaraman, V., et al.: Blockchain technology: beyond bitcoin. Appl. Innov. 2(6–10), 71 (2016)

    Google Scholar 

  11. Gandal, N., Halaburda, H.: Can we predict the winner in a market with network effects? competition in cryptocurrency market. Games 7(3), 16 (2016)

    Article  MathSciNet  Google Scholar 

  12. Gers, F.A., Schmidhuber, J., Cummins, F.: Learning to forget: continual prediction with LSTM. In: Proceedings of International Conference on Artificial Neural Networks, pp. 850–855 (1999)

    Google Scholar 

  13. Hileman, G., Rauchs, M.: Global cryptocurrency benchmarking study. Cambridge Centre Altern. Finance 33, 33–113 (2017)

    Google Scholar 

  14. Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980 (2014)

  15. Lasheras, F.S., de Cos Juez, F.J., Sánchez, A.S., Krzemień, A., Fernández, P.R.: Forecasting the comex copper spot price by means of neural networks and arima models. Resour. Policy 45, 37–43 (2015)

    Article  Google Scholar 

  16. Lin, D., Wu, J., Yuan, Q., Zheng, Z.: Modeling and understanding ethereum transaction records via a complex network approach. IEEE Trans. Circuits Syst. II Express Briefs 67(11), 2737–2741 (2020)

    Article  Google Scholar 

  17. Lin, D., Wu, J., Yuan, Q., Zheng, Z.: T-edge: Temporal weighted multidigraph embedding for ethereum transaction network analysis. Front. Phys. 8, 204 (2020)

    Article  Google Scholar 

  18. McNally, S., Roche, J., Caton, S.: Predicting the price of bitcoin using machine learning. In: Proceedings of Euromicro International Conference on Parallel, Distributed and Network-based Processing, pp. 339–343. IEEE, Cambridge (2018)

    Google Scholar 

  19. Ozbayoglu, A.M., Gudelek, M.U., Sezer, O.B.: Deep learning for financial applications: a survey. Appl. Soft Comput. 93, 106384 (2020)

    Google Scholar 

  20. Sainath, T.N., Vinyals, O., Senior, A., Sak, H.: Convolutional, long short-term memory, fully connected deep neural networks. In: Proceedings of IEEE International Conference on Acoustics, Speech and Signal Processing, Brisbane, QLD, Australia, pp. 4580–4584 (2015)

    Google Scholar 

  21. Sezer, O.B., Gudelek, M.U., Ozbayoglu, A.M.: Financial time series forecasting with deep learning: a systematic literature review: 2005–2019. Appl. Soft Comput. 90, 106181 (2020)

    Google Scholar 

  22. Shen, H., Liang, X.: A time series forecasting model based on deep learning integrated algorithm with stacked autoencoders and SVR for FX prediction. In: Villa, A.E.P., Masulli, P., Pons Rivero, A.J. (eds.) A time series forecasting model based on deep learning integrated algorithm with stacked autoencoders and SVR for FX prediction. LNCS, vol. 9887, pp. 326–335. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-44781-0_39

    Chapter  Google Scholar 

  23. Sood, A.K., Bansal, R., Enbody, R.J.: Cybercrime: dissecting the state of underground enterprise. IEEE Internet Comput. 17(1), 60–68 (2012)

    Article  Google Scholar 

  24. Wood, G.: Ethereum: a secure decentralised generalised transaction ledger. Ethereum Project Yellow Paper 151(2014), 1–32 (2014)

    Google Scholar 

  25. Wu, J., et al.: Who are the phishers? phishing scam detection on ethereum via network embedding. IEEE Trans. Syst. Man Cybern. Syst. To be published, https://doi.org/10.1109/TSMC.2020.3016821

  26. Zetzsche, D.A., Buckley, R.P., Arner, D.W., Föhr, L.: The ICO gold rush: It’s a scam, it’s a bubble, it’s a super challenge for regulators. University of Luxembourg Law Working Paper (11), pp. 17–83 (2017)

    Google Scholar 

  27. Zheng, Z., Xie, S., Dai, H., Chen, X., Wang, H.: Blockchain challenges and opportunities: a survey. Int. J. Web Grid Serv. 14(4), 352–375 (2018)

    Article  Google Scholar 

Download references

Acknowledgments

The work described in this paper is supported by the National Key R&D Program of China (2020YFB1006005), the National Natural Science Foundation of China (61973325, U1811462).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jiajing Wu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Gu, Z., Lin, D., Zheng, J., Wu, J., Hu, C. (2021). Deep Learning-Based Transaction Prediction in Ethereum. In: Dai, HN., Liu, X., Luo, D.X., Xiao, J., Chen, X. (eds) Blockchain and Trustworthy Systems. BlockSys 2021. Communications in Computer and Information Science, vol 1490. Springer, Singapore. https://doi.org/10.1007/978-981-16-7993-3_3

Download citation

  • DOI: https://doi.org/10.1007/978-981-16-7993-3_3

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-16-7992-6

  • Online ISBN: 978-981-16-7993-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics