Post
Topic
Board Bitcoin Technical Support
Re: how much transaction fee i need to pay per 1 kbyte?
by
ranochigo
on 15/07/2017, 09:36:33 UTC
I did not know this before. Very, very useful. Shall use this method already bookmarked to test on my transactions for the next time.
Your client should be able to do this for you automatically.
I am now just curious: why does the input size look 4 times the site of output? Should not the logic require them to be almost the same size? Or is a lot more data included in input?
Yes. More data is included in the input than in the output.
For the input, it contains the following:
- hash of the transaction the input was contained in
- Index of the input in transaction
- Script length
- Script (Contains signatures, public key etc.)
- Sequence number

The output contains:
- Value of the output in satoshi
- Length of output script
-  Script (Contains the address).