Will the transaction fee be automatically added when I transfer some moneros with the default wallet (client) i.e.:
2 XMR to be transferred
+ 0.01 fees (depending on speed and obfuscation level)
2.01 are used from my balance
?
Will the transaction fee be automatically added when I transfer some moneros with the default wallet (client) i.e.:
2 XMR to be transferred
2.01 are used from my balance
?
When you transfer monero, you also pay the miner fee. This fee is also taken from your inputs, so if you transfer an amount A, then you end up with this:
N inputs, totalling X, such that X >= A + F I outputs, totalling X-F One of these I outputs is A Change is X-F-A
So you spend A+F.
It would be confusing if you sent some amount, but the recipient would receive some slightly smaller amount.
Note that this is how the monero-wallet-cli and monero-wallet-gui wallets behave, so another wallet may well decide to it otherwise.
There is an exception to this rule: the sweep command family. sweep_all tries to send all your balance, but since you wouldn't have anything left for the fee, it sends all your balance minus the fee.