0

This question already has an answer here:

Background: I'm experimenting on the LTC testnet client.

My client has a balance of 0.4 LTC and I sent 0.1 LTC to another wallet address.

https://chain.so/tx/LTCTEST/cc7d6e5e488593fded214e3073195fbaca3807a27d18a7f2550b6fc4909c48f6

Why is the value of the input 0.19 instead of 0.1? Why is this type of transaction created?

Why can't a transaction just be created with 0.1 input and 0.1 output without any change returned?

Thanks in advance.

marked as duplicate by Murch Apr 26 '18 at 16:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Looks like mw1eydzkEHohfjcL9xBJNaJEQbFF93Y25F Got a donation of 0.09 – Evil Zymurgist Apr 26 '18 at 16:14
0

Why is the value of the input 0.19 instead of 0.1? Why is this type of transaction created?

Bitcoin works on a system of transaction outputs. Transaction outputs are spent as inputs to another transaction. When they are spent, they must be spent in full. The input of your transaction is spending an output with value 0.19, so all 0.19 Bitcoin must be spent in full in this input. The remainder must then be sent to a change output.

Why can't a transaction just be created with 0.1 input and 0.1 output without any change returned?

Inputs don't actually have a value attached to them; what block explorers show you as the input value is really the value of the output being spent.

Not the answer you're looking for? Browse other questions tagged or ask your own question.