Orca Crypto
Menu
Start Here
Learn
Chains
Exchanges
Markets
Tools
Safety
Glossary
More
Our tokens Book a session
Advanced · Onchain analysis

Following the money: flows and clustering

Every transfer is public. Who stands behind an address is not. Tracing is the craft of reasoning carefully across that gap.

Loading live prices
By the Orca Crypto teamUpdated 2026-09-28How we check this13 min readAdvanced
The short answer

Following funds means turning a graph of addresses into a story about entities. Analysts cluster addresses with heuristics (inputs spent together on Bitcoin, reused exchange deposit addresses and shared gas funding on Ethereum), attach labels for known services, and follow value through swaps and bridges by matching amounts, timing and protocol records. Every step is probabilistic, so conclusions need corroboration, and none of it justifies harassing anyone.

From addresses to entities

A blockchain records addresses, not people. One person can control hundreds of addresses, and one exchange address can hold the deposits of millions of customers. So the analyst’s real work is not reading transfers, which any explorer does, but grouping addresses into entities and deciding which entity each transfer belongs to. The output is never a certainty. It is a graph of hypotheses, each with a reason and a confidence, and the discipline of the craft is keeping those two things attached to every edge.

This is the same machinery that the guide to what your address says about you describes from the other side. Knowing how clustering works is how you keep your own addresses from being clustered.

Bitcoin: common inputs and change

Bitcoin’s own whitepaper names the first heuristic. In its section on privacy it notes that "some linking is still unavoidable with multi-input transactions, which necessarily reveal that their inputs were owned by the same owner." To spend several coins at once, a wallet has to sign for all of them, so inputs that appear together usually share a keyholder. Chained across thousands of transactions, this common input ownership heuristic collapses many addresses into one wallet.

text
One Bitcoin transaction, two inputs and two outputs (illustrative)

inputs    bc1q...a   0.61000000 BTC    signed together in one transaction,
          bc1q...b   0.52000000 BTC    so one wallet very likely holds both keys
outputs   bc1q...x   1.00000000 BTC    round number: probably the payment
          bc1q...y   0.12985000 BTC    odd amount, never seen before, same
                                       script type as the inputs: probably change
fee                  0.00015000 BTC

The second heuristic is change detection. Bitcoin outputs are spent whole, so a payment usually creates change back to the sender. The change output tends to be the odd amount, to go to a brand new address, and to use the same script type as the inputs. Identify the change and you can follow the sender’s wallet forward. A long run of transactions that each peel a small payment off a large balance and send the rest to fresh change is called a peel chain, a pattern analysts recognize at a glance.

Both heuristics break by design in CoinJoin, where many users combine inputs into one transaction, and in PayJoin, where the receiver contributes an input. That is why privacy minded users and launderers alike use them, and why a trail through a CoinJoin becomes probabilistic at best.

Account chains: deposit addresses, gas and habits

Ethereum has no inputs and outputs, so the Bitcoin heuristics do not apply. A foundational academic treatment, Friedhelm Victor’s "Address clustering heuristics for Ethereum" (Financial Cryptography 2020), proposed three: reuse of exchange deposit addresses, participation in several airdrops that are then consolidated, and token approvals between addresses. Over Ethereum’s first four years they clustered 17.9% of active externally owned addresses into more than 340,000 multi-address entities, and deposit address reuse was the most effective.

The deposit heuristic works because exchanges give each customer a unique deposit address that forward whatever arrives to a central hot wallet. If two of your addresses both pay into the same deposit address, they almost certainly belong to the same exchange account. Dune now builds a public table of detected deposit addresses, cex.deposit_addresses, from exactly this consolidation pattern.

Two more signals do a lot of practical work. Gas funding: a new address needs native coins before it can do anything, so its first incoming transfer often points to its owner. And habits: the same active hours, the same gas settings, the same apps in the same order. These are the core of sybil detection in airdrop design, where one farmer running many wallets tends to fund them from one place and click through them in the same sequence.

HeuristicWhereThe signalMain source of false positives
Common input ownershipBitcoin and other UTXO chainsInputs spent together in one transactionCoinJoin and PayJoin transactions, which combine inputs from different people on purpose
Change detectionUTXO chainsThe output that is not a round number, goes to a fresh address and matches the input script typeWallets that randomize change, and payments that are round only in dollar terms
Deposit address reuseEthereum and other account chainsSeveral addresses pay into the same exchange deposit address, which forward to a hot walletShared family accounts, payment processors and OTC desks paying on behalf of clients
Gas fundingAccount chainsA fresh address received its first native coins from a particular addressExchange withdrawals, faucets, bridges, relayers and paymasters that fund thousands of strangers
Airdrops and approvalsAccount chainsMany addresses claim and then consolidate to one; one EOA holds allowances over othersClaim tools and approvals granted to scams or shared services
Timing and behaviorAny chainThe same active hours, gas settings and sequence of appsBots and popular wallets share defaults, so behavior alone is weak

Labels: useful, fallible, sometimes adversarial

Clusters become meaningful when one address in them has a name. Labels come from exchanges’ own disclosures, explorer name tags, forensic firms, community submissions and inference. Dune documents its own mix: curated seed files for exchanges, protocols and DAOs, automated contract analysis, ENS resolution and community contributions. Each source fails differently:

  • Inferred labels presented as fact. "Exchange: deposit" may be one analyst’s guess from a consolidation pattern, copied between tools until it looks authoritative.
  • Stale labels. Contracts are upgraded, wallets are handed over, and a label that was right in 2022 can be wrong today.
  • Self-chosen names. An ENS name is a claim by whoever registered it. Anyone can call their address anything.
  • Service labels hide users. "Binance" on a hot wallet tells you nothing about which of its customers sent the funds. Only the exchange can answer that.

Speed matters too. In the Bybit case, TRM Labs says it tagged the compromised addresses almost immediately and created a single tracking entity for the exploiter. Labels like that propagate across compliance systems within hours, which is powerful when they are right and damaging when they are not. Record the source of every label you use.

Tracing through swaps, bridges and services

Swaps. A DEX swap changes the asset but not the owner, and it happens inside one transaction. Follow the Swap event and the output Transfer to the recipient, as in reading a transaction. Aggregators route through several pools in the same transaction, so skip to the final transfer out.

Bridges. A bridge locks or burns on one chain and releases or mints on another. Match the two sides by the bridge’s own identifiers (deposit IDs and message IDs, which most bridges expose in an explorer such as Wormholescan), then by amount minus fees and by timing. The trust models behind those messages are covered in cross chain security.

Read the memo
Some cross chain services put the destination in plain view. A swap through THORChain carries a memo in the inbound transaction such as =:BTC.BTC:bc1q..., which names the asset to receive and the address to send it to on the other chain. Reading the memo is often faster than any amount and timing match.

Custodial services and mixers. A deposit into an exchange or an instant swap service usually ends the public trail, because the link between what went in and what came out lives in the service’s database. Only the service, under legal process, can extend it. Mixers and CoinJoin produce outputs that cannot be deterministically matched to inputs; amount and timing correlations can suggest links, but treat them as weak evidence, not a continuation of the trail.

Case study: following the Bybit theft

On February 21, 2025, attackers took 401,347 ETH plus staked ether tokens from Bybit’s cold wallet, about 1.46 billion dollars and the largest crypto theft on record (how the signers were deceived is covered in what went wrong at Bybit). The laundering that followed was traced in public, in real time, by several analytics firms, and it shows every technique above in use on both sides. The sequence below comes from public analyzes by Elliptic, TRM Labs and Chainalysis.

WhenWhat the launderers didWhat analysts could see
Minutes after the theftSwapped staked ether tokens such as stETH and cmETH for ETH on DEXsSwap events from the theft addresses. Some token issuers can freeze balances and nobody can freeze ether, so the freezable assets went first
Within two hoursSplit the ETH across 50 wallets of about 10,000 ETH eachA clean fan out of equal sized transfers, easy to label in one pass
Over nine daysEmptied the 50 wallets one by one; the last on March 3, 2025Each wallet draining into swaps, bridges and exchanges, watched in real time by several firms
Days to weeksConverted most of the ETH to bitcoin through eXch, a no-KYC swap service, and other routes, with portions moved via BNB Chain and SolanaDeposits into services that do not share customer data: the public trail thins here
AfterwardBegan passing bitcoin through Cryptomixer and Wasabi Wallet, and left a notable portion dormantMixer and CoinJoin entry points, and idle balances that can be watched for years

Attribution rested on clustering. Chainalysis reported that funds from the exploit consolidated in addresses already holding funds from other known North Korea linked attacks, which is common control inferred from a shared destination. On February 26, 2025 the FBI publicly attributed the theft to North Korea, activity it calls TraderTraitor, published 51 Ethereum addresses connected to it, and asked node operators, exchanges, bridges and analytics firms to block transactions derived from them.

The launderers adapted to being watched. TRM described the approach as "flood the zone": so many rapid, high frequency transactions across so many platforms that compliance teams could not keep pace. The counter was collaboration and incentives. Bybit offered a bounty of up to 10% of any frozen or recovered funds, and Chainalysis said on February 27, 2025 that it had already helped freeze more than 40 million dollars.

Three lessons carry over to any investigation. Freezable assets move first, so the first minutes show you what the attacker fears. Equal sized fan outs are easy to label but expensive to watch, so labeling is a race. And public data can follow funds up to a custodial service but rarely through it; beyond that point, recovery depends on institutions that can freeze funds or compel records.

Tools, and what they are really doing

Explorers and your own queries

Address pages, token transfer lists and the first funding transaction are free and exact. SQL over tables such as Dune’s cex.deposit_addresses lets you test a heuristic across millions of addresses instead of eyeballing ten.

Graph visualizers

Arkham, Breadcrumbs and MetaSleuth draw addresses as nodes and transfers as edges, with their own labels attached. Fast for orientation; every edge you did not check yourself is a claim.

Professional forensics

Chainalysis Reactor, TRM and Elliptic Investigator add proprietary labels and case tools for compliance teams and investigators. Their public incident reports are excellent free teaching material.

Every one of these tools runs the same heuristics described above, plus labels. A beautiful graph is a rendering of someone’s inferences. When you can, check the key edges yourself on an explorer, or test a heuristic at scale with your own SQL.

A disciplined workflow

  1. Write the question down

    "Where did the proceeds of this exploit go?" is answerable. "Who is behind this wallet?" usually is not from public data, and chasing it is where investigations go wrong.

  2. Pin the starting point

    Start from transactions you can verify yourself: the exploit transaction, the scam payment, the treasury transfer. Decode them properly first (see reading a transaction).

  3. Expand one hop at a time, with rules

    Decide in advance what you follow: a minimum amount, a time window, and what counts as a service where you stop. Without rules, every graph grows until it touches a major exchange.

  4. Record evidence and confidence for every link

    Note why you believe each connection (same transaction, memo, amount and timing, deposit address reuse) and how strong it is. A chain of five "probably" links is not a "probably".

  5. Corroborate before you conclude

    Look for an independent signal: a second heuristic, a public statement, a law enforcement notice. Then write it up with the uncertainty left in.

Ethics and limits

A wrong label lands on a real person
Anyone can send anything to any address. Tainted funds can be sent to uninvolved wallets, scammers send dust to make addresses look connected, and address poisoning creates lookalike addresses on purpose. Shared infrastructure links strangers too: an exchange hot wallet, a relayer or an ERC-4337 paymaster can fund thousands of unrelated accounts. A cluster is a hypothesis. Publishing it as fact, or acting on it against a person, can do real harm to someone who did nothing.

Some rules follow directly. Never publish a private person’s identity, home or family on the strength of a cluster, and never contact, threaten or pile onto someone you suspect. Report to the people who can act: the exchange that received the funds, the protocol’s security contact, the victim’s official recovery channel, and law enforcement. If you trace your own stolen funds to an exchange, send its security team the transaction hashes and file a police report; the steps are in what to do if your wallet is drained. Anyone offering to "recover" stolen crypto for an upfront fee is almost always a second scam.

Know the limits too. Public data rarely proves identity, clustering error rates are unknown for any specific case, and well funded launderers study the same heuristics you do. The goal of onchain analysis is better questions and better evidence for the people who can act on it, not verdicts.

Common questions

Can you always identify who owns a wallet?

No. Public data links addresses to each other far more often than to a person. A name usually enters only when an address touches a service that knows its customers, such as an exchange, or when the owner reveals it themselves, by posting it or registering a name.

How reliable is the exchange deposit address heuristic?

It is one of the strongest on account chains, because deposit addresses are issued per customer. It still produces false positives when accounts are shared, when a payment processor or OTC desk pays in for many clients, or when the deposit address was misidentified in the first place.

Does using a bridge break the trail?

Usually not. Most bridges publish deposit and message identifiers that link the two sides, and amount and timing narrow things further. Trails break at custodial services and mixers, not at bridges.

Is it legal to trace other people's transactions?

Reading public blockchain data is generally lawful. What you do with it is what matters: harassment, doxxing and stalking are illegal in many places whatever the source of the information. This is general information, not legal advice.

What should I do if I find my stolen funds at an exchange?

Contact the exchange's security or compliance team with the transaction hashes, file a police report, and in the US also report to the FBI's Internet Crime Complaint Center. Exchanges generally act on law enforcement requests, so the report is what gives your evidence force.

Kept on this device only. Nothing is sent anywhere.

Where to go next

Next: Supply analysis: emissions, unlocks, float and market makers

Guide 15 of 16 in the Advanced level. Your place is kept on this device, so you can pick up exactly here next time.

Share this page

Was this page useful?