<p>When you send funds to an exchange, you do not own the UTXOs created. They are owned by the exchange.</p>

<p>Exchanges use the UTXOs from all their wallets to process withdrawals. This means that if you were to deposit and withdraw coins with no trades in between, your withdrawal will still not come from the UTXO created by your deposit. It could come from any of the thousands of UTXOs owned by the exchange (comprising of other peoples' deposits).</p>

<p>It's similar to how your bank account functions. When you deposit cash, the cash you hand over becomes the property of the bank. From that point, any balance that you have solely exists on the banks' internal databases. If that database was tampered with or destroyed, no one can prove you had money there. If you were to withdraw cash, the notes you get back will not be the same ones you deposited, and were likely deposited by some other customer.</p>

<p>Similarly, when you send coins to an exchange, your balance exists solely in the exchange's  internal database system. As you make trades, this internal balance is debited and credited. When you withdraw, the coins come from a UTXO set that includes everyone's deposits.</p>

<p>This is also why it is recommended to only keep coins you are actively trading on an exchange, since it leaves you open to the possibility of an exchange losing your money.</p>

CC BY-SA 4.0
2018-06-12T16:46:20.310Z
If I am correct then owning a wallet on Exchange is making us only the part of a centralised system which is handling my transaction in their own database. There isn't any record of my account on the decentralised system of the blockchain. Making us again an underdog of the centralised system.
idk
CC BY-SA 4.0
2018-06-12T17:56:56.713Z
That's roughly correct. You could use decentralized exchanges such as Etherdelta or Switcheo, if you wish
Raghav Sood
CC BY-SA 4.0
2018-06-12T18:29:13.557Z
Thank you, The answer was very helpful and If you can share any resource regarding the same will be great.
idk
CC BY-SA 4.0
2018-06-12T15:05:47.850Z
2018-06-12T15:05:47.850Z
Raghav Sood
<p>I <a href="https://bitcoin.stackexchange.com/questions/76145/comparison-btc-and-eth-uncomfirmed-transactions-queue">recently became aware</a> of the fact that <strong>exchanges have trading engines that execute all trades within the exchange itself, and not on the blockchains</strong>. That is to say, if User A sells to User B, there is no corresponding blockchain transaction transferring those coins. Instead, both users have accounts on the exchange which are debited and credited. A blockchain transfer only takes place during deposits and withdrawals.</p>

<p>Please explain the same case for currency like Bitcoin as it manages its assets using UTXO Model which is a record of unspent outputs. And for other currency like Ethereum using the account-balance model as the transactions aren't included in the blockchain. So, how they will reflect changes in the account of a user?</p>

<transactions><wallet><exchanges>
How do cryptocurrency exchanges handle users' accounts?
idk
# How do cryptocurrency exchanges handle users' accounts?

(Asked by: username_0 on 2018-06-12)

I [recently became aware](https://bitcoin.stackexchange.com/questions/76145/comparison-btc-and-eth-uncomfirmed-transactions-queue) of the fact that **exchanges have trading engines that execute all trades within the exchange itself, and not on the blockchains**. That is to say, if User A sells to User B, there is no corresponding blockchain transaction transferring those coins. Instead, both users have accounts on the exchange which are debited and credited. A blockchain transfer only takes place during deposits and withdrawals.

Please explain the same case for currency like Bitcoin as it manages its assets using UTXO Model which is a record of unspent outputs. And for other currency like Ethereum using the account-balance model as the transactions aren't included in the blockchain. So, how they will reflect changes in the account of a user?

**Tags:** transactions, wallet, exchanges


---

## 1 answers

### Answer by username_1 on 2018-06-12. Score: 5 | Accepted answer

When you send funds to an exchange, you do not own the UTXOs created. They are owned by the exchange.

Exchanges use the UTXOs from all their wallets to process withdrawals. This means that if you were to deposit and withdraw coins with no trades in between, your withdrawal will still not come from the UTXO created by your deposit. It could come from any of the thousands of UTXOs owned by the exchange (comprising of other peoples' deposits).

It's similar to how your bank account functions. When you deposit cash, the cash you hand over becomes the property of the bank. From that point, any balance that you have solely exists on the banks' internal databases. If that database was tampered with or destroyed, no one can prove you had money there. If you were to withdraw cash, the notes you get back will not be the same ones you deposited, and were likely deposited by some other customer.

Similarly, when you send coins to an exchange, your balance exists solely in the exchange's internal database system. As you make trades, this internal balance is debited and credited. When you withdraw, the coins come from a UTXO set that includes everyone's deposits.

This is also why it is recommended to only keep coins you are actively trading on an exchange, since it leaves you open to the possibility of an exchange losing your money.

> **Comments:**
> **username_0**: If I am correct then owning a wallet on Exchange is making us only the part of a centralised system which is handling my transaction in their own database. There isn't any record of my account on the decentralised system of the blockchain. Making us again an underdog of the centralised system.  
> **username_1**: That's roughly correct. You could use decentralized exchanges such as Etherdelta or Switcheo, if you wish  
> **username_0**: Thank you, The answer was very helpful and If you can share any resource regarding the same will be great.  

---

