Distributed ledger technologies have opened up a wealth of fine-grained transaction data from cryptocurrencies like Bitcoin and Ethereum. This allows research into problems like anomaly detection, anti-money laundering, pattern mining and activity clustering (where data from traditional currencies is rarely available). The formalism of temporal networks offers a natural way of representing this data and offers access to a wealth of metrics and models. However, the large scale of the data presents a challenge using standard graph analysis techniques. We use temporal motifs to analyse two Bitcoin datasets and one NFT dataset, using sequences of three transactions and up to three users. We show that the commonly used technique of simply counting temporal motifs over all users and all time can give misleading conclusions. Here we also study the motifs contributed by each user and discover that the motif distribution is heavy-tailed and that the key players have diverse motif signatures. We study the motifs that occur in different time periods and find events and anomalous activity that cannot be seen just by a count on the whole dataset. Studying motif completion time reveals dynamics driven by human behaviour as well as algorithmic behaviour.
Cryptocurrency ledgers like Bitcoin and Ethereum give unusually fine-grained transaction data, useful for anomaly detection, anti-money-laundering and activity-clustering research. We represent this data as temporal networks and use temporal motifs (small recurring patterns of two or three transactions) to analyse two Bitcoin datasets and one NFT dataset. We show that simply counting motifs across all users and all time can be misleading: breaking motifs down by user reveals a heavy-tailed distribution with very different "signatures" for key players, and breaking them down by time period reveals events and anomalies invisible in the aggregate count. Looking at how long motifs take to complete reveals a mix of human and algorithmic behaviour.
author = {Naomi A. Arnold and Peijie Zhong and Cheick Tidiane Ba and Ben Steer and Raul Mondrag{\'o}n and Felix Cuadrado and Renaud Lambiotte and Richard G. Clegg},
title = {Insights and Caveats from Mining Local and Global Temporal Motifs in Cryptocurrency Transaction Networks},
journal = {Scientific Reports},
year = {2024},
volume = {14},
number = {1},
doi = {10.1038/s41598-024-75348-7}
}