I've been playing with the createrawtransaction
, signrawtransaction
, and sendrawtransaction
Bitcoin calls.
Let's say there are two accounts in my Wallet: Account1 and the default ""
account. Let's also say account balances are "" = 0.00000000
and Account1 = 0.50000000
and that the only UTXO in my Wallet references a Bitcoin address owned by Account1 as the output address and is in the amount of 0.50000000
.
When I create, sign, and send the transaction to another Wallet, the account balances appear as "" = -0.50000000
and Account1 = 0.50000000
, and the balance of my Wallet equals the obvious 0.00000000
.
Is there any way, when creating/signing/sending a transaction, that I can specify which account to send it from?
I'm familiar with the sendfromaccount
call that would accomplish this, but I want to create my transactions manually so I can control the change (when necessary) and the transaction fees.