Anomaly Detection in Blockchain Transactions Using Isolation Forest and Autoencoder Deep Learning Models

Main Article Content

👤 Heru Supriyanto
🏢 Magister of Computer Sciences, Amikom Purwokerto University, Indonesia
👤 Murtiyoso
🏢 Magister of Computer Sciences, Amikom Purwokerto University, Indonesia
👤 Nilasari
🏢 Magister of Computer Sciences, Amikom Purwokerto University, Indonesia

Blockchain technology enables decentralized and transparent digital transactions, yet its open architecture also increases vulnerability to fraudulent and irregular activities. This study evaluates the effectiveness of the Isolation Forest method for detecting anomalous patterns within blockchain transaction data. A simulated dataset consisting of 10,130 transactions was constructed, including 62 injected anomalies that represent realistic irregular behaviours such as unusually large transaction values, extreme gas price spikes, and rapid consecutive transfers by a single sender. After applying feature engineering to capture temporal frequency, transaction dynamics, sender and receiver behaviour, and gas-related attributes, the Isolation Forest model was trained and evaluated using the embedded anomaly labels. The model achieved a precision of 0.4516, a recall of 0.4516, and an F1 score of 0.4516, indicating moderate detection capability. Analysis of the confusion matrix and anomaly score distribution further revealed overlapping characteristics between rare but legitimate transactions and true anomalies, which contributed to misclassification. Overall, the findings suggest that Isolation Forest can serve as an early anomaly filtering mechanism, although additional contextual information or hybrid detection strategies are needed to enhance performance in real blockchain environments.

Supriyanto, H., Murtiyoso, & Nilasari. (2026). Anomaly Detection in Blockchain Transactions Using Isolation Forest and Autoencoder Deep Learning Models. Journal of Current Research in Blockchain, 3(2), 139–151. https://doi.org/10.47738/jcrb.v3i2.69

Article Details

Section
Articles

Similar Articles

1 2 3 4 > >> 

You may also start an advanced similarity search for this article.