All articles
Blockchain Tracing & Forensics

How Blockchain Forensics Works: Heuristics Investigators Use

Blockchain forensics is built on heuristics — rules of thumb that help investigators cluster addresses and follow funds. Learn the core heuristics that power every crypto investigation.

NexusCore Investigations Team2026-08-1611 min read
How Blockchain Forensics Works: Heuristics Investigators Use

Blockchain forensics is not magic. It is built on a set of heuristics — rules of thumb derived from the structure of blockchain protocols and the behavior of wallet software — that allow investigators to cluster addresses, identify change, and follow funds. Understanding these heuristics is the foundation of every crypto investigation. This article explains the core heuristics and how they are applied.

What Is a Heuristic in Blockchain Forensics?

A heuristic is a practical method that is not guaranteed to be perfect but is good enough for most cases. In blockchain forensics, heuristics allow investigators to make probabilistic statements about which addresses are controlled by the same entity, which output of a transaction is the payment and which is the change, and how funds are likely to move.

Heuristics are not laws — they can be wrong in specific cases. But they are correct often enough that they form the basis of professional investigation. The key is understanding when each heuristic applies and when it might fail.

Heuristic 1: Common-Input-Ownership

This is the most fundamental heuristic in Bitcoin forensics. It states: when multiple addresses are used as inputs in the same Bitcoin transaction, they are almost always controlled by the same wallet.

The reason is practical: to spend from multiple addresses in a single transaction, the spender must know the private keys for all of them. In normal wallet operation, this means they are all in the same wallet. An attacker would have to deliberately craft a transaction with inputs from multiple parties (as in CoinJoin) to break this heuristic.

This heuristic allows investigators to cluster addresses. If address A and address B are both inputs to the same transaction, they are clustered. If address B and address C are both inputs to another transaction, they are clustered too — and by transitivity, A, B, and C are all in the same cluster. This is how investigators build address clusters that represent a single entity's wallet.

When It Fails

  • CoinJoin transactions: By design, CoinJoin transactions have inputs from multiple parties. The heuristic does not apply to CoinJoin inputs.
  • Collaborative transactions: Some protocols (like Lightning channel opens, certain multisig setups) have inputs from multiple parties.
  • Exchange sweeps: Exchanges sometimes aggregate deposits from many users in a single transaction, though this is less common now.

Heuristic 2: Change Address Identification

In a Bitcoin transaction, the outputs that are not the intended payment are the change — they go back to the sender. Identifying which output is change and which is payment is essential for following the right trail. Several sub-heuristics help:

Address Reuse

If an output address has been used before (appears in prior transactions), it is more likely to be the payment destination (the recipient reused their address). Change addresses are almost always fresh (never used before) because modern wallets generate a new change address for each transaction.

Script Type Matching

If all inputs are of one script type (e.g., Native SegWit / bech32) and one output matches that type while the other is a different type, the matching output is likely change (the wallet generates change in the same script type as the inputs).

Round Number Heuristic

Payment amounts are often round numbers (e.g., 1.0 BTC, 0.5 BTC). Change amounts are usually not round (e.g., 0.98765432 BTC). If one output is round and the other is not, the round one is likely the payment.

Largest Output Heuristic

In many transactions, the change is smaller than the payment. The larger output is more likely to be the payment. (This is the opposite of the peel chain pattern, where the largest output is the continuation/change — context matters.)

Heuristic 3: Behavioral Clustering (Account-Based Chains)

On Ethereum, Tron, and other account-based chains, there is no common-input-ownership heuristic because each account is a single address. Instead, investigators use behavioral clustering:

  • Same contract interactions: If two addresses interact with the same set of smart contracts in the same order, they may be controlled by the same entity
  • Same deployer: If two contracts are deployed by the same address, they are controlled by the same entity
  • Coordinated movement: If two addresses consistently send funds to each other or to the same destinations in coordinated patterns, they may be part of the same operation
  • Gas payer patterns: If the same address pays gas for transactions from multiple addresses (as a relayer), those addresses may be linked

Heuristic 4: Timing Patterns

The timing of transactions can reveal behavioral patterns:

  • Time-of-day patterns: A user who consistently transacts during business hours in a specific time zone may be located in that time zone
  • Transaction frequency: A wallet that makes transactions every day at the same time may be an automated system
  • Response time: The time between a deposit and a withdrawal (at a mixer, bridge, or exchange) can help correlate the two

Heuristic 5: Amount Correlation

When funds pass through a mixer or a bridge, the amounts can be used to correlate deposits and withdrawals:

  • Exact match: If a deposit and withdrawal are the same amount (minus a known fee), they are likely the same transfer
  • Denomination match: Mixers that use fixed denominations produce outputs of the same size, but the number of denomination outputs can correlate to the deposit amount
  • Change correlation: If a deposit of 10.5 ETH produces a 10 ETH denomination output and a 0.5 ETH change, the change can be a linking clue

Heuristic 6: Service Attribution

A critical heuristic is that addresses can be attributed to known services (exchanges, mixers, bridges, DEXs) through prior investigation. Once an address is attributed to a service, any transaction involving that address is a transaction with that service. This allows investigators to identify when funds reach an exchange, a mixer, or a bridge.

Service attribution is built through:

  • Public disclosures: Exchanges sometimes publish their addresses
  • User reports: Users who deposit to an exchange can identify the deposit address
  • Behavioral analysis: Addresses that receive many small deposits and make large consolidated withdrawals are likely exchange deposit addresses
  • Law enforcement requests: Subpoenas to exchanges reveal their address clusters

Heuristic 7: Peeling and Fan-Out Patterns

As discussed in the peel chain article, criminals often move funds in characteristic patterns:

  • Peel chains: Large input, large continuation output, small peel output — the continuation is change
  • Fan-out: One input, many outputs of similar size — likely a distribution to many recipients (or a mixer deposit)
  • Consolidation: Many inputs, one output — likely a sweep to a consolidation address

Recognizing these patterns helps an investigator follow the funds efficiently.

The Limits of Heuristics

Heuristics are probabilistic, not deterministic. They can be wrong. A good investigator:

  • Understands the basis of each heuristic and when it applies
  • Uses multiple heuristics in combination (if they all agree, confidence is high)
  • Is aware of the cases where heuristics fail (CoinJoin, collaborative transactions, deliberate counter-forensics)
  • Documents the reasoning behind each attribution

Conclusion

Blockchain forensics is built on heuristics — the common-input-ownership heuristic, change address identification, behavioral clustering, timing and amount correlation, service attribution, and pattern recognition. These heuristics are not perfect, but they are powerful. A skilled investigator combines them, understands their limitations, and uses them to build a coherent picture of how funds moved and who controls them. This is the foundation of every successful crypto investigation.

Share this article