<p>The fee you are referring to is the fee paid to the miners (not to you) for the transaction.  The miner (or mining pool) who is lucky enough to solve the block is going to receive all the fees from all of the transactions on that block.  It will be unknown who will receive the fee it until the block is solved. For more information, see <a href="https://en.bitcoin.it/wiki/Transaction_fees" rel="nofollow noreferrer">Bitcoin Transaction Fees</a>.  If you want them to pay you a fee, then you have to create a separate transaction for that.</p>

CC BY-SA 4.0
2018-06-03T06:16:53.267Z
Thank you. So I can use this api to create addresses for users and transfer their assets to any given  addresse by users right?
LearningPal
CC BY-SA 4.0
2018-06-03T15:43:21.453Z
It appears to be the case: https://blockchain.info/api/blockchain_wallet_api
JBaczuk
CC BY-SA 4.0
2018-06-02T21:51:19.500Z
2018-06-02T21:51:19.500Z
JBaczuk
<p>We have started building a bitcoin exchange. Now we basically want to create and address that let users keep their bitcoin asset on that address and we will charge minimal fees to them when they withdraw it.</p>

<p>Now I have api key for my blockchain.info account now if we create an address for user let them deposit bitcoin and then transfer the assets to an address given by user, using api url below</p>

<p><a href="http://localhost:3000/merchant/" rel="nofollow noreferrer">http://localhost:3000/merchant/</a>$guid/payment?password=$main_password&amp;second_password=$second_password&amp;to=$address&amp;amount=$amount&amp;from=$from&amp;fee=$fee</p>

<p>Where will the fee be received?</p>

<p>Please suggest</p>

<blockchain.info><blockchain-wallet-app>
Transfer bitcoins from one wallet to another
LearningPal
# Transfer bitcoins from one wallet to another

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

We have started building a bitcoin exchange. Now we basically want to create and address that let users keep their bitcoin asset on that address and we will charge minimal fees to them when they withdraw it.

Now I have api key for my blockchain.info account now if we create an address for user let them deposit bitcoin and then transfer the assets to an address given by user, using api url below

<http://localhost:3000/merchant/>$guid/payment?password=$main\_password&second\_password=$second\_password&to=$address&amount=$amount&from=$from&fee=$fee

Where will the fee be received?

Please suggest

**Tags:** blockchain.info, blockchain-wallet-app


---

## 1 answers

### Answer by username_1 on 2018-06-02. Score: 0 | Accepted answer

The fee you are referring to is the fee paid to the miners (not to you) for the transaction. The miner (or mining pool) who is lucky enough to solve the block is going to receive all the fees from all of the transactions on that block. It will be unknown who will receive the fee it until the block is solved. For more information, see [Bitcoin Transaction Fees](https://en.bitcoin.it/wiki/Transaction_fees). If you want them to pay you a fee, then you have to create a separate transaction for that.

> **Comments:**
> **username_0**: Thank you. So I can use this api to create addresses for users and transfer their assets to any given  addresse by users right?  
> **username_1**: It appears to be the case: https://blockchain.info/api/blockchain_wallet_api  

---

