cs.CRJan 30, 2025

Large Language Models for Cryptocurrency Transaction Analysis: A Bitcoin Case Study

Authors: Yuchen Lei, Yuexin Xiang, Rafael Dowsley, Tsz Hon Yuen, Andreas Deppeler, Jiangshan Yu, Qin Wang, Kim-Kwang Raymond Choo

Organizations: School of Cyber Science and Engineering, Wuhan University, Wuhan 430072, China · Faculty of Information Technology, Monash University, Clayton, VIC 3800, Australia · CSIRO’s Data61, Eveleigh, NSW 2015, Australia · School of Computer Science, The University of Sydney, Camperdown, NSW 2006, Australia · Department of Information Systems and Cybersecurity, University of Texas at San Antonio, TX 78249-0631, USA

Abstract

Cryptocurrencies are widely used, yet current methods for analyzing transactions often rely on opaque, black-box models. While these models may achieve high performance, their outputs are usually difficult to interpret and adapt, making it challenging to capture nuanced behavioral patterns. Large language models (LLMs) have the potential to address these gaps, but their capabilities in this area remain largely unexplored, particularly in cybercrime detection. In this paper, we test this hypothesis by applying LLMs to real-world cryptocurrency transaction graphs, with a focus on Bitcoin, one of the most studied and widely adopted blockchain networks. We introduce a three-tiered framework to assess LLM capabilities: foundational metrics, characteristic overview, and contextual interpretation. This includes a new, human-readable graph representation format, LLM4TG, and a connectivity-enhanced transaction graph sampling algorithm, CETraS. Together, they significantly reduce token requirements, transforming the analysis of multiple moderately large-scale transaction graphs with LLMs from nearly impossible to feasible under strict token limits. Experimental results demonstrate that LLMs have outstanding performance on foundational metrics and characteristic overview, where the accuracy of recognizing most basic information at the node level exceeds 98.50% and the proportion of obtaining meaningful characteristics reaches 95.00%. Regarding contextual interpretation, LLMs also demonstrate strong performance in classification tasks, even with very limited labeled data, where top-3 accuracy reaches 72.43% with explanations. While the explanations are not always fully accurate, they highlight the strong potential of LLMs in this domain. At the same time, several limitations persist, which we discuss along with directions for future research.

Figures & tables

Explore similar work

CardsList
  1. Revisiting Graph-Tokenizing Large Language Models: A Systematic Evaluation of Graph Token Understanding

    May 5, 2026Zhongjian Zhang, Yue Yu, Mengmei Zhang +3Task-Relevant InformationTransform

  2. Are Large Language Models Suitable for Graph Computation? Progress and Prospects

    Jun 5, 2026Yuting Zhang, Yi Han, Kai Wang +3Graph RepresentationsLanguage Modeling

  3. Intent2Tx: Benchmarking LLMs for Translating Natural Language Intents into Ethereum Transactions

    Apr 30, 2026Zhuoran Pan, Yue Li, Zhi Guan +2BitcoinTransaction Evidence