I tried to send 0.001 BTC with Bitcoin-Core, but for some reasons it charged me with a transaction fee of 0.00145271 BTC:
$ bitcoin-cli getinfo|grep balance
"balance": 0.03312022,
$ bitcoin-cli sendtoaddress my_bitcoin_address 0.001
$ bitcoin-cli getinfo|grep balance
"balance": 0.03066751,
Is there any way to know which fee am I going to pay before sending the transaction?