Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 10 January 2026

Optimized XGBoost for Ethereum Fraud Detection: A Cost-Sensitive Approach

Supriya P.1, Rubah Sheriff1, Shreya Padaki1, Suchi V. Yadav1 & Varsha Thaku1

Journal of Computer Science, Volume 21, Issue 12, pp. 2802–2815 · doi.org/10.3844/jcssp.2025.2802.2815

2,770 accesses1,222 downloads0 citations (Crossref)Metrics
Cite Check for updates

Abstract

In today’s technologically advancing world, many fields from finance to healthcare and education are shifting toward a digital and decentralized format. A significant transformation is underway with the currency of the masses. Blockchain-based cryptocurrencies like Bitcoin and Ethereum allow users to generate fungible tokens anonymously through smart contracts. However, these features also facilitate illicit transactions and cybercrimes like fraud, phishing, and money laundering. The proposed work explores the identification of suspicious transactions on the Ethereum blockchain by leveraging advanced machine-learning techniques. An Extreme Gradient Boosting (XGBoost) classifier is optimized for spotting unauthorized or malicious transactions, exploring features like transaction patterns and value anomalies. Feature scaling and log transformations normalize skewed distributions, while rigorous model training and hyperparameter tuning enhance the system's precision, recall, and overall accuracy. Other aids, such as feature importance rankings, precision-recall curves, and diagnostic statistics, provide useful information on fraud patterns. Evaluation of the model shows that integrating cost-sensitive learning significantly reduces false positives, from 51 to 44, representing a 13.7% decrease, which enhances practical usability by minimizing false alerts and manual verification efforts. Although there was a slight increase in false negatives (from 14 to 15), the overall classification accuracy improved. The model demonstrated strong performance in managing class imbalance which is common in fraud detection contexts.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

P., S., Sheriff, R., Padaki, S., Yadav, S. V. & Thaku, V. (2025). Optimized XGBoost for Ethereum Fraud Detection: A Cost-Sensitive Approach. Journal of Computer Science, 21(12), 2802–2815. https://doi.org/10.3844/jcssp.2025.2802.2815

Licence
CC BY 4.0
Issue
Volume 21, Issue 12
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
Optimized XGBoost for Ethereum Fraud Detection: A Cost-Sensitive ApproachJournal of Computer Science · Volume 21, Issue 12 · pp. 2802–2815 · CC BY 4.0Download