Glossary

Chain Analysis (Blockchain Analytics)

The practice of analyzing blockchain transactions to identify, cluster, and trace activity for compliance, law enforcement, or intelligence.

Key Takeaways

  • Chain analysis uses heuristics and attribution databases to link pseudonymous blockchain addresses to real-world identities, enabling KYC/AML compliance and criminal investigations.
  • Common techniques include the common-input-ownership heuristic, change address detection, and timing analysis: these can collapse millions of Bitcoin addresses into entity clusters, but they produce false positives and can be defeated by privacy tools like coin control.
  • Major firms (Chainalysis, Elliptic, TRM Labs) now cover 27+ blockchains and power compliance at over 1,000 institutions, but independent reviews show dramatic variation in their results.

What Is Chain Analysis?

Chain analysis (also called blockchain analytics or blockchain forensics) is the practice of examining public blockchain data to trace the flow of funds, identify the entities behind transactions, and uncover behavioral patterns. Because blockchains like Bitcoin record every transaction on a permanent public ledger, all activity is visible: but participants are identified only by pseudonymous addresses rather than real names. Chain analysis bridges this gap by clustering addresses and linking them to known entities.

The field emerged alongside Bitcoin itself. The foundational academic work, "A Fistful of Bitcoins" by Sarah Meiklejohn et al. (2013), demonstrated that simple heuristics could collapse 12 million Bitcoin keys into 3.3 million clusters and identify change addresses with an estimated false positive rate of just 0.17%. This paper won the ACM Internet Measurement Conference Test-of-Time Award in 2024, reflecting its lasting impact on the field.

Today, chain analysis is a multi-billion-dollar industry. Compliance teams at exchanges, banks, and payment processors use it for transaction monitoring and risk scoring. Law enforcement agencies use it to trace ransomware payments, recover stolen funds, and build cases against illicit actors.

How It Works

Chain analysis operates on Bitcoin's UTXO model, where every transaction consumes existing unspent outputs and creates new ones. This creates a directed graph: every satoshi can theoretically be traced from its coinbase origin through every subsequent transaction to its current holder.

The core process follows a consistent pattern:

  1. Parse the full blockchain to extract every transaction, input, output, and address
  2. Apply clustering heuristics to group addresses believed to belong to the same entity
  3. Match clusters against an attribution database of known entities (exchanges, darknet markets, ransomware groups, sanctioned addresses)
  4. Assign risk scores to addresses and transactions based on their proximity to flagged activity

Common-Input-Ownership Heuristic

The most fundamental clustering technique is the common-input-ownership heuristic (CIOH). When a Bitcoin transaction has multiple inputs, all input addresses are assumed to belong to the same entity. The reasoning is straightforward: spending from multiple addresses in a single transaction requires the private keys for all of them, which typically means one wallet controls them all.

# Transaction with multiple inputs
# All input addresses are clustered as one entity

Transaction: abc123...
  Inputs:
    Address A  →  0.3 BTC   ┐
    Address B  →  0.5 BTC   ├─ Same entity (CIOH)
    Address C  →  0.2 BTC   ┘
  Outputs:
    Address D  →  0.9 BTC   (payment)
    Address E  →  0.1 BTC   (likely change)

By recent estimates, applying the CIOH can collapse 184 million base address clusters into approximately 40 million entity clusters. The heuristic breaks down when users deliberately combine inputs from different entities: this is the principle behind CoinJoin transactions.

Change Address Detection

In Bitcoin's UTXO model, transactions rarely match exact payment amounts. The excess value returns to the sender as a "change output." Identifying which output is the change extends entity clusters by linking the change address back to the sender.

Analysts detect change addresses using several signals:

  • Round-number outputs are more likely to be intentional payments; non-round remainders suggest change
  • Script-type matching: if all inputs use P2WPKH and one output uses P2WPKH while the other uses P2TR, the matching type is likely change
  • Avoiding address reuse: change typically goes to a fresh address, while payments may go to a known address
  • Output ordering patterns that wallets produce by default

Timing and Network Analysis

Beyond on-chain data, analysts can exploit the Bitcoin peer-to-peer network itself. When a node broadcasts a transaction, the propagation pattern across the network can reveal the originating IP address. Researchers have demonstrated precision of 0.90 and recall of 0.71 in linking consecutive sessions on Bitcoin mainnet using timing analysis alone.

Bitcoin Core has introduced countermeasures: randomized broadcast delays and, as of v27.1 (June 2024), v2 P2P encryption became the default. Running a Bitcoin node over Tor provides additional protection against network-level surveillance.

Dust Attacks

A dust attack is an active deanonymization technique. The attacker sends tiny amounts (often 1 to 500 satoshis) to many target addresses. These amounts are too small to spend on their own because the transaction fee would exceed the value. When a wallet eventually consolidates this dust with other UTXOs in a consolidation transaction, the attacker can apply the CIOH to link all those addresses to a single entity.

Proper coin control is the primary defense: wallets that let users select specific UTXOs can avoid spending dust alongside other holdings.

Major Firms

Several companies dominate the blockchain analytics industry, each maintaining proprietary attribution databases and analysis tooling:

FirmFoundedKey ProductsNotable Clients
Chainalysis2014Reactor (investigation), KYT (compliance monitoring)FBI, DEA, IRS-CI; 1,000+ customers in 70 countries
Elliptic2013Elliptic AML, Investigator (wallet screening)Coinbase, Revolut; 700+ customers
TRM Labs2018Forensics, transaction monitoring, wallet screeningCircle, PayPal, Visa, Stripe
CipherTrace2015Armada, Inspector (acquired by Mastercard 2021)Banks, regulators (key products suspended 2024)

Chainalysis maintains an attribution database of over 2,000 named entities and traces transactions across 27+ blockchains. Their Reactor tool can follow funds through 325 million+ cross-chain swaps. In March 2026, they announced AI-powered blockchain intelligence agents for automated fund tracing.

TRM Labs reached unicorn status ($1 billion valuation) with a $70 million Series C in February 2026, while Elliptic raised $120 million at a $670 million valuation in May 2026: both rounds reflecting growing institutional demand for compliance tooling.

Use Cases

Regulatory Compliance

Exchanges, payment processors, and money services businesses use chain analysis platforms for real-time transaction monitoring. When a user deposits or withdraws cryptocurrency, the platform screens the transaction against known illicit addresses and assigns a risk score. High-risk transactions trigger enhanced due diligence or are blocked entirely.

The FATF Travel Rule requires virtual asset service providers to collect and transmit originator and beneficiary information for transfers above $1,000. Blockchain analytics platforms help VASPs comply by identifying counterparty institutions and flagging transactions that lack required information. For a deeper look at KYC/AML frameworks, see our stablecoin regulation tracker.

Law Enforcement Investigations

Chain analysis has been central to several landmark criminal cases:

  • Colonial Pipeline (2021): after DarkSide ransomware shut down the largest US fuel pipeline, the FBI traced a 75 BTC ($4.4 million) ransom payment through the public ledger and recovered 63.7 BTC within a month
  • Bitfinex hack recovery (2016/2022): IRS-CI traced 119,754 stolen BTC across years of transactions, leading to the 2022 arrest of Ilya Lichtenstein and Heather Morgan and the seizure of approximately 94,000 BTC (then worth $3.6 billion): the largest US asset seizure at the time
  • Silk Road (2013): while the initial arrest relied on traditional investigation, IRS-CI later used blockchain tracing to locate and seize an additional $1 billion in Bitcoin stolen from the marketplace by a hacker

Intelligence and Research

Beyond compliance and law enforcement, chain analysis supports broader intelligence work: tracking ransomware payment flows, monitoring sanctioned entities, analyzing stablecoin blacklists, and studying the economics of darknet markets. Academic researchers use similar techniques to study network topology and economic behavior on public blockchains.

Privacy Countermeasures

Several techniques exist to resist or defeat chain analysis. Their effectiveness varies, and some carry legal risk depending on jurisdiction:

CoinJoin

CoinJoin transactions combine inputs from multiple unrelated users into a single transaction with equal-value outputs, making it difficult for analysts to determine which input funded which output. Implementations include Wasabi Wallet's WabiSabi protocol and JoinMarket. The effectiveness increases with more participants, but CoinJoin transactions are identifiable on-chain due to their distinctive multi-party structure.

PayJoin

Unlike CoinJoin, a PayJoin transaction is steganographic: both sender and receiver contribute inputs, which breaks the common-input-ownership assumption without looking unusual on-chain. An ordinary PayJoin transaction is indistinguishable from a regular payment.

Coin Control and UTXO Management

Manual coin control lets users choose exactly which UTXOs to spend, preventing accidental linkage of addresses from different contexts. Combined with avoiding address reuse, careful UTXO management significantly reduces the information available to analysts.

Silent Payments

Silent payments allow a sender to generate a unique address for the receiver without any prior interaction, eliminating address reuse while maintaining a single public identifier. This removes one of the key signals that chain analysis relies on for clustering.

Accuracy Limitations

Chain analysis is powerful but imperfect. Heuristics are probabilistic, and false positives can result in innocent users having accounts frozen or flagged.

Provider Disagreement

A 2021 FATF review compared data from seven blockchain analytics providers and found "dramatic variation among providers." On the basic question of what percentage of Bitcoin P2P transactions occurred between 2016 and 2020, four firms reported 40% to 70% while two firms reported 10% to 32%. FATF concluded it was "difficult to draw clear conclusions" from the data.

Courtroom Scrutiny

The Bitcoin Fog trial (2024) tested chain analysis evidence under the Daubert standard for scientific admissibility. A prosecution witness testified to "no false positives" in their Chainalysis-based analysis. Independent analysts noted that a claimed 0% false positive rate is statistically implausible for any heuristic-based system. The defendant was ultimately convicted, but the case highlighted ongoing questions about the reliability standards applied to blockchain evidence.

Privacy Tool Evolution

As analytics firms improve their techniques, privacy tools evolve in response. The shutdown of Samourai Wallet in April 2024 (co-founders arrested on money laundering charges; both pleaded guilty in July 2025) and the temporary OFAC sanctions on Tornado Cash (August 2022, lifted March 2025) demonstrate the regulatory pressure on privacy-enhancing services. Meanwhile, protocol-level improvements like silent payments and Taproot make certain analysis techniques less effective without requiring any third-party service.

Risks and Considerations

  • False positives can freeze legitimate funds: heuristic-based clustering means that receiving Bitcoin from a flagged address (even unknowingly) can trigger account restrictions at exchanges and payment processors
  • Surveillance overreach: the IRS awarded a $625,000 contract to develop Lightning Network tracing capabilities, raising questions about the boundaries of blockchain surveillance and the privacy expectations of self-custody users
  • Data asymmetry: analytics firms sell data to governments and corporations, but individuals have limited ability to audit or challenge the risk scores assigned to their addresses
  • Jurisdictional variation: what constitutes adequate compliance monitoring differs across jurisdictions, creating inconsistency in how chain analysis data is applied to user accounts

This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.