Sub topic 7
How Exchanges Organize Hot, Warm, and Cold Wallets and Deposit Addresses
This chapter assumes you know what a blockchain, a wallet address, and a transaction are. It also assumes you can tell Bitcoin's UTXO model from Ethereum's account model at a high level, and that you can read short Python programs. Earlier chapters covered how addresses are clustered and labeled. Here we look at the structure those labels are trying to describe: how a centralized exchange arranges its own wallets. Knowing this structure tells you which transfers are real customer activity and which are internal housekeeping.
Why exchange structure matters for analysis
A centralized exchange holds customer funds in wallets it controls. Customers see a balance in a database. The exchange's ledger of who owns what lives off-chain. The blockchain only shows the exchange's pooled wallets moving coins around.
An analyst who treats every exchange address as one undifferentiated blob will make two kinds of mistakes:
- Counting internal moves, such as hot-to-cold transfers, as customer inflows or outflows.
- Missing real customer activity because deposits arrive at thousands of addresses that were never labeled.
Both mistakes change the netflow numbers you compute in the next chapter. So you need a working model of how the wallets are arranged.
The wallet tiers
Exchanges split funds across tiers. The split is a trade-off between speed and safety. Keys that sign transactions automatically are convenient but exposed. Keys kept offline are safer but slow to use.
| Tier | Key storage | Typical role | Share of funds | On-chain behavior |
|---|---|---|---|---|
| Hot wallet | Online, automated signing | Pays customer withdrawals | Small | Many frequent, small outgoing transfers |
| Warm wallet | Online but restricted, or semi-automated approval | Refills hot wallets, buffers liquidity | Medium | Periodic, mid-sized transfers to and from hot wallets |
| Cold wallet | Offline, often multi-signature or hardware-secured | Long-term storage of most reserves | Large | Rare, large transfers, often in round batches |
The percentages vary by exchange and are rarely published, so treat any figure you see as an estimate. Many exchanges say they keep the large majority of customer funds in cold storage, but the exact share is a claim you generally cannot verify from the chain alone.
Hot wallets
A hot wallet is connected to the internet so that a server can sign withdrawals without human approval. When a customer requests a withdrawal, the exchange's system pays it from a hot wallet within seconds or minutes. Because the keys are online, the exchange keeps only enough here to cover expected withdrawals, which limits the loss if the system is compromised.
On-chain, a hot wallet looks busy. It sends many transfers to many unrelated addresses, and it receives refills from warm or cold storage.
Warm wallets
A warm wallet sits between the two. It may require manual or multi-party approval, or it may be an online wallet with tight limits. Its job is to refill hot wallets when they run low and to receive swept deposits before they move onward to cold storage. Not every exchange has a distinct warm tier, and the line between warm and hot is a matter of the exchange's own policy.
Cold wallets
A cold wallet holds keys that are not on an internet-connected signer. Moving funds out usually needs a deliberate, often multi-person procedure. On-chain, cold wallets show large balances that sit unchanged for long periods, with occasional large transfers when the exchange rebalances.
Deposit addresses
Customers need somewhere to send funds. Exchanges typically generate a deposit address per customer, or per customer per asset. The exchange then knows which customer a deposit belongs to, because the receiving address maps to an account in its database.
Two consequences follow for analysts:
- There are a lot of deposit addresses. A large exchange can control hundreds of thousands or millions of them. Each one receives a few deposits and holds little.
- Deposit addresses are often unlabeled at first. Labeling providers find them by following the sweep pattern described below.
Some account-model exchanges use a shared deposit address plus a memo or tag to identify the customer. This pattern appears on chains and assets that support a memo field. In that design, a single address receives deposits from many customers, and the memo does the routing off-chain.
The deposit-to-sweep lifecycle
Funds usually flow through the tiers in a repeating cycle:
- A customer sends coins to their deposit address.
- The exchange credits the customer's balance after enough confirmations.
- A sweeping process consolidates many deposit addresses into a hot or warm wallet.
- Surplus in the hot wallet is moved to cold storage.
- When the hot wallet runs low, the exchange refills it from warm or cold storage.
- Withdrawals leave from the hot wallet to the customer's own address.
The sweep step is the key to labeling. If an address receives a deposit and then forwards everything to a known exchange wallet, that address is very likely a deposit address of the same exchange. Analysts use this pattern to expand labels from a small set of known wallets to a large set of deposit addresses.
What each movement means for flow analysis
Not every transfer touching an exchange is a customer action. The table classifies the common movements.
| Movement | Customer inflow or outflow? | Should it count in netflow? |
|---|---|---|
| Customer wallet to deposit address | Inflow | Yes, once the deposit address is attributed |
| Deposit address to hot wallet (sweep) | No, internal | No |
| Hot wallet to cold wallet | No, internal | No |
| Cold wallet to hot wallet | No, internal | No |
| Hot wallet to customer wallet | Outflow | Yes |
| Exchange wallet to a different exchange | Outflow from one, inflow to the other | Yes, for both |
The exchange-internal rows are the reason the example code in the next chapter skips transfers where both sides belong to the same exchange. If you counted a sweep as an inflow, you would count the same coins twice: once when the customer deposits and again when the exchange sweeps them.
The customer deposit is the only event that signals someone moved coins toward a venue where they can sell. The sweep happens later, on the exchange's schedule.
A timing detail
The deposit and the sweep are separated in time. A customer deposit may appear on one day and the sweep on the next. If your attribution only covers the main wallets and not the deposit addresses, you will see the sweep as an inflow to the exchange from an unknown address. That is a late, distorted view of the real deposit. Coverage of deposit addresses therefore changes not only the size of the inflow figure but also its timing.
Differences between UTXO and account chains
The structure looks different depending on the chain model.
- UTXO chains such as Bitcoin. A withdrawal transaction often has many inputs and a change output. The change returns to an exchange-controlled address, so one transaction can both pay a customer and move funds within the exchange. A naive reader may count the change output as an inflow. Clustering by common input ownership helps here, because the inputs reveal which addresses the exchange controls. Sometimes exchanges batch many withdrawals into a single transaction with many outputs, which makes one transaction an outflow to dozens of customers.
- Account chains such as Ethereum. A deposit address is an account that holds a balance. Sweeping it needs gas, so exchanges first send a small amount of the native coin to the deposit address to pay the fee. That small top-up transfer is a recognizable signature, since it goes from the exchange to a fresh address, followed shortly by a token transfer out of that address. For tokens, the transfer appears as an event log on the token contract rather than as a native transfer.
Failure modes and edge cases
- Exchange reorganizations. Exchanges migrate to new wallets from time to time. A large move from an old cold wallet to a new one looks like a huge outflow and inflow if only one side is labeled. Check whether both addresses belong to the same entity before reacting.
- Stale labels. An address labeled as an exchange wallet years ago may now be retired or reassigned. Label age and source matter.
- Shared custody and third parties. Some exchanges use outside custodians for part of their reserves. Those wallets may be labeled with the custodian's name, not the exchange's, so cold-storage balances can be split across several entities.
- Omnibus and pooled addresses. Some venues pool many customers at one address with memos, which hides individual customers entirely.
- Exchange-like services. Payment processors, brokers, and over-the-counter desks can share a wallet pattern with exchanges but behave differently. Lumping them together overstates exchange selling pressure.
- Round-number cold transfers. Large rebalancing moves between tiers can be mistaken for whale activity if the exchange wallets are not recognized as exchange wallets.
A small worked example
Suppose the labels cover only the exchange's hot wallet, and the data contains these transfers:
- A customer sends 10 coins to deposit address D1.
- D1 sweeps 10 coins to the hot wallet.
- The hot wallet sends 40 coins to the cold wallet.
If only the hot wallet is labeled, you see 10 coins of inflow (the sweep from unlabeled D1) and 40 coins of outflow (to the unlabeled cold wallet). The reported netflow is minus 30. The real customer activity was an inflow of 10. Labeling D1 and the cold wallet changes the result: step 1 becomes a 10-coin inflow, and steps 2 and 3 are internal and are skipped, giving a netflow of plus 10. The sign flips because of labeling coverage alone.
Key points
- Exchanges split funds into hot, warm, and cold tiers to trade convenience against security.
- Customers deposit to per-customer addresses, which are swept into pooled wallets.
- Sweeps, refills, and tier-to-tier moves are internal and should not count as customer flow.
- Label coverage of deposit addresses and cold wallets decides whether netflow is accurate.
Exercise
An exchange's labeled hot wallet receives 200 coins from an unlabeled address, which had received exactly 200 coins from a customer the day before. Later, the hot wallet sends 150 coins to a labeled cold wallet of the same exchange. For the two days, how much customer inflow is the real figure, what would a naive analysis with only the hot wallet labeled report as inflow and outflow, and what fixes the error?
Show answer
The real customer inflow is 200 coins, which happened on the first day when the customer deposited. A naive analysis with only the hot wallet labeled sees the 200-coin sweep as an inflow on the second day. The 150-coin move to the cold wallet is skipped because both wallets are labeled as the same exchange, so the reported outflow is zero. The error is that the inflow is dated a day late and its sender looks like an unknown address. Labeling the intermediate deposit address as part of the same exchange, by recognizing the sweep pattern, makes the first transfer the inflow on day one and the sweep internal.
Exercise
Why does an Ethereum exchange often send a small amount of the native coin to a fresh deposit address shortly before a token transfer leaves that address?
Show answer
Moving a token out of an account needs gas paid in the native coin. A deposit address that only holds tokens cannot pay the fee, so the exchange tops it up with a small amount of the native coin, then sweeps the tokens. This top-up followed by a sweep is a recognizable pattern that labelers use to identify deposit addresses.