Post
Topic
Board Bitcoin Discussion
Re: 4.50$ Fee for 0.09$ Transaction..?!
by
franky1
on 19/01/2017, 20:45:32 UTC
I see, I guess I can have multiple inputs as well then?
But then the fee might increase due to a higher transaction size, am I right?  Smiley

you can have multiple inputs. and multiple outputs.

easy guide calculation for approximate tx byte size

(148*in)+(34*out)=
this is an estimator as the answer can be +-10 different

eg
1 input if you only want to spend the $1.75(0.00202562)
2 output to go to one destination and the rest back to you

(148*1)+(34*2)=216
it actually results in 226byte when you actually build the tx


for instance if a 226byt tx costs 14cents
there is no point adding the other unspents (listed below) because
(148*2)+(34*2)= ~364byte = ~$0.23 tx fee
so why add in the 9cent unspent to just be eaten up in the extra fee by adding it.



you also have
0.00003 ($0.03) unspent a76f50b8ab76d2a0880be73306753423cc0cbea9a3aca20f13dfc51bdf3d4954
0.0001 ($0.09) unspent 5b9044c61a5c3d68f5bef7b67093e4109264e4aba836204669da42d5caeb12a1



lastly remember when you spend X to the destination you want. calculate whats left. then work out a fee you want to pay. take that from whats left and then put the remainder back to yourself