Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: Broadcast raw transaction (Bitcoin testnet)
by
pooya87
on 03/09/2021, 03:07:25 UTC
⭐ Merited by mocacinno (1)
These are invalid transactions. In the last one, you use an input from this transaction to create one output of 0.05 BTC to this address while the inputs are 0.01224182 BTC summed.
You messed up some decimals there.
The last transaction has one input with the amount = 0.00010000BTC and there is one output with the amount = 0.00005000BTC.

The problem with this tx is not its amount but its invalid signature, which is either because OP's signing function is buggy or OP's calculation of the sighash for signing.