Say I have 1 Bitcoin in my wallet. I need to pay my friend for something and it just so happens he will accept 1 Bitcoin as the payment. I send my friend my one and only Bitcoin because he is a good friend and the transaction gets confirmed.

All was fine until I went peeping under the hood. I'm running bitcoind so I ran the command listtransactions and looped over everything with an output of console.log(amount, fee).

See the picture below: (send, fee)

enter image description here

In reality I sent 14.3438969 Bitcoins to another address which was the entire balance of the wallet. Where could the fee (-0.0002) have come from? Since I sent the remainder of my coins there are no more to take to pay that.

First let me state that I actually sent the coins to a different address in the same wallet and if that's complicating the issue then I'm just a big dummy but I still don't get it. AFAIK senders get charged the fee? Is this correct? So that 0.0002 would get applied to the senders account (me). But I sent all of my coins so there are none left? Does this mean I have negative coins or that next time I receive part of that will pay the fee.

If anyone could address this and explain conceptually how the fees in the cases I have brought up would work it would be very helpful. I cannot seem to find the docs and who pays the fee, at won't point it's assessed, etc..

  • 1
    Was there one Bitcoin left in your wallet or 14.3438 Bitcoins left in your wallet? You seem to be saying both. Commented Aug 16, 2013 at 21:44
  • @DavidSchwartz what I'm trying to say is that I completely depleted my account as in all money gone... so how could a fee be assessed if I sent everything? Fees are tacked on right? Not taken from?
    – user6382
    Commented Aug 16, 2013 at 22:19
  • 1
    If you completely depleted the account, then where did the 14.348 Bitcoins come from? Commented Aug 16, 2013 at 22:43

2 Answers 2


First, you cannot have negative amounts of Bitcoin in your wallet. Just like with cash there can only be a positive amount. You can, however, depending on what settings you are using, make transactions without attaching a fee.

Perhaps, when you tried to send all your money, the software automatically reduced the sent amount to the maximum you could send in order to still have enough for the fee. This would show up as the full amount leaving your wallet, but only the amount without fee being signed over to your friend.


I think it will be more helpful if we attack your second scenario first. This is what I think happened:

Your wallet had an initial total of 14.3440969

You then sent all of your bitcoins from all of your addresses into one address, but...

The application you are using automatically deducted a transaction fee of 0.0002 before sending all of your coins to that address.

So, that new address ended up with 14.3438969 bitcoins (which is 14.3440969 - 0.0002).

At this point, I think you're wondering why you didn't get paid the transaction fee because the transaction was just from yourself to yourself, right? The transaction fee does not go to receiving party - it goes to "miners". Miners are the persons (and their computers) on the bitcoin network who contribute to adding the record of your transaction to a universal record of transactions known as "the block chain". There is some sort of work involved in doing so and the fee is the miners' incentive to do this work. There are a lot more technical details about how this works, but hopefully this is enough to clear up your confusion.

As for your first scenario, this could have worked in one of two ways:

1) The software you used automatically deducted the fee (say 0.0005 BTC) from the payout. In which case, your wallet would have lost 1.00 BTC and your friend would have actually gained 0.9995 BTC. In this case, the transactions would have gone through normally.

2) It's possible to send a transaction with no fee. The rules here imply that your transaction should have gone through to your friend without fees, though it may have been delayed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.