Research Article Open Access

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

Supriya P.1, Rubah Sheriff1, Shreya Padaki1, Suchi V. Yadav1 and Varsha Thaku1
  • 1 Department of Artificial Intelligence and Machine Learning, B.M.S. College of Engineering, Bengaluru, Karnataka, India

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.

Journal of Computer Science
Volume 21 No. 12, 2025, 2802-2815

DOI: https://doi.org/10.3844/jcssp.2025.2802.2815

Submitted On: 22 April 2025 Published On: 10 January 2026

How to Cite: 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

  • 102 Views
  • 21 Downloads
  • 0 Citations

Download

Keywords

  • Ethereum
  • Fraud Detection
  • Blockchain
  • XGBoost
  • Classification
  • Anomaly Detection
  • Feature Engineering
  • Hyperparameter Tuning
  • Evaluation Metrics