like if i want to requset 0.1BTC from someone and i want exactly 0.1 BTC
i dont want him to send any other amount
(fees also on him)
it is something like invoice
what is the way to do that ?
If someone sends 0.1
BTC from his wallet to your address, you will receive exactly the same amount he sent because the fees are deducted from his wallet balance but not from the amount he is trying to send, if he is having exactly 0.1
BTC in his wallet and he puts all of them in the transaction, the wallet would tell him to reduce the sending amount as he has to pay 0.0001
BTC as fees as well.
Not exactly. A sender has complete control over how much or how little he wishes to include as a transaction fee. Sure, some wallets will enforce a minimum value, but it isn't required that you pay 0.0001
BTC as a fee.
As I wrote earlier in this thread, the fees are the difference between the transaction input(s) and the transaction output(s). The typically recommended fee is 0.0001
BTC per kb of transaction data. This value is by no means set in stone, and you as the sender can choose whatever value you want. Also note that miners can choose whether or not to include your transaction in their work.
Let's take a look at a simple transaction to see how it works. For our example, let's use this one: 9311220a0a0a129a512f55ed38d1bd7716628fa0fa0c89d8a195e97c0b65588b
That transaction has a single input of 0.19443679
BTC. It has 2 outputs. One for 0.01035878
BTC and the second for 0.179
BTC. Add up the two outputs and you get 0.18935878
BTC. Subtract the outputs from the input and you get 0.00507801
BTC. Lo and behold, that's the transaction fee.
The basic construction of a transaction works like this:
1) Determine which unspent transaction outputs you control to use as inputs to the new transaction you are creating
2) Determine the outputs of the transaction and the amount of BTC for each output.
3) Sign the transaction
4) Broadcast it
Wallet software will manage this process, only relying upon you to provide a destination address, amount you wish to send there, and how much of a fee you wish you include.