<p>Nothing will happen "under the hood" in the blockchain of a cryptocurrency when you trade on an exchange. The exchange has many wallets where the funds of the user are stored. The exchange has also a database where they store the information about the assets of the user, their trades and their resulting balance. Example:</p>

<p>A person A deposits 1 btc to exchange XY. Person B deposits 10 eth to exchange XY (these are transactions which you can see in the public blockchain of the respective blockchain).</p>

<p>Now the exchange has 1 btc and 10 eth and in their database they write analogous: "A has 1 btc; B has 10 eth".</p>

<p>Now person A wants to exchange his 1 btc into eth. So he buys 10 eth from person B and pays with 1 btc. <strong>This trade will not cause any transaction which will be added to the blockchain</strong>, because it is an exchange-specific process. When the trade is executed, exchange XY write in his database something like "A has 10 eth; B has 1 btc". (When person A, for example, now wants to withdraw his 10 eth to his ethereum-cold-wallet this would cause a transaction in the ethereum-blockchain.)</p>

CC BY-SA 3.0
2018-01-18T21:22:36.753Z
2018-01-19T08:04:22.673Z
2018-01-19T08:04:22.673Z
anion
<p>On the Bitcoin blockchain, you can only send Bitcoin. You cannot trade USD or any other coin on the Bitcoin blockchain. The way centralized exchanges such as Binance work is by owning a lot of coins and storing the data in a centralized database. When you trade 1 BTC for X altcoin they deduct what they owe you in BTC and increment what they owe you in the altcoin. They do the opposite for the person you traded with.Binance also takes a cut off of that. The only transactions that happen on the Bitcoin blockchain are when you deposit or withdraw coins.</p>

CC BY-SA 3.0
2018-01-18T21:25:33.630Z
So when I initially transferred BTC from coinbase to binance to fund my trading account, does the coin go to my own personal binance wallet or binances's wallet?
ddrjca
CC BY-SA 3.0
2018-01-18T21:29:12.610Z
You don't have a "personal binance wallet". You do not have access to the private keys of the address that Binance gives, therefore you do not own the wallet. The deposit address that they give only to you is so they can register how much coins they owe you in their centralized database. They then display how much that they owe you in your Binance dashboard.
Cedric Martens
CC BY-SA 3.0
2018-01-18T21:07:59.907Z
2018-01-18T21:07:59.907Z
Cedric Martens
<p>What happens under the hood when I use BTC to buy an Altcoin on an exchange?</p>

<p>I recently used Binance to buy an Altcoin using BTC. After making the trade I was expecting to obtain a transaction identifier which I could use to look up the history using blockchain.info.</p>

<blockchain><altcoin>
What happens under the hood when I use BTC to buy an Altcoin on an exchange?
ddrjca
# What happens under the hood when I use BTC to buy an Altcoin on an exchange?

(Asked by: username_0 on 2018-01-18)

What happens under the hood when I use BTC to buy an Altcoin on an exchange?

I recently used Binance to buy an Altcoin using BTC. After making the trade I was expecting to obtain a transaction identifier which I could use to look up the history using blockchain.info.

**Tags:** blockchain, altcoin


---

## 2 answers

### Answer by username_1 on 2018-01-18. Score: 2 | Accepted answer

Nothing will happen "under the hood" in the blockchain of a cryptocurrency when you trade on an exchange. The exchange has many wallets where the funds of the user are stored. The exchange has also a database where they store the information about the assets of the user, their trades and their resulting balance. Example:

A person A deposits 1 btc to exchange XY. Person B deposits 10 eth to exchange XY (these are transactions which you can see in the public blockchain of the respective blockchain).

Now the exchange has 1 btc and 10 eth and in their database they write analogous: "A has 1 btc; B has 10 eth".

Now person A wants to exchange his 1 btc into eth. So he buys 10 eth from person B and pays with 1 btc. **This trade will not cause any transaction which will be added to the blockchain**, because it is an exchange-specific process. When the trade is executed, exchange XY write in his database something like "A has 10 eth; B has 1 btc". (When person A, for example, now wants to withdraw his 10 eth to his ethereum-cold-wallet this would cause a transaction in the ethereum-blockchain.)


---

### Answer by username_2 on 2018-01-18. Score: 1

On the Bitcoin blockchain, you can only send Bitcoin. You cannot trade USD or any other coin on the Bitcoin blockchain. The way centralized exchanges such as Binance work is by owning a lot of coins and storing the data in a centralized database. When you trade 1 BTC for X altcoin they deduct what they owe you in BTC and increment what they owe you in the altcoin. They do the opposite for the person you traded with.Binance also takes a cut off of that. The only transactions that happen on the Bitcoin blockchain are when you deposit or withdraw coins.

> **Comments:**
> **username_0**: So when I initially transferred BTC from coinbase to binance to fund my trading account, does the coin go to my own personal binance wallet or binances's wallet?  
> **username_2**: You don't have a "personal binance wallet". You do not have access to the private keys of the address that Binance gives, therefore you do not own the wallet. The deposit address that they give only to you is so they can register how much coins they owe you in their centralized database. They then display how much that they owe you in your Binance dashboard.  

---

