This question is almost the opposite of How to find the change / sender address given a txid?
If I am making a transaction using createrawtransaction
how can I define the change (sender) address?
This question is almost the opposite of How to find the change / sender address given a txid?
If I am making a transaction using createrawtransaction
how can I define the change (sender) address?
In Bitcoin, change is a normal output which sends the remaining money to one of your addresses. When creating a transaction with createrawtransaction
, you have to add change output manually (just like any other output), otherwise that money would go to the miners.