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.

  • 1
    FYI the accounts feature is being deprecated in v0.11 and will probably be removed sometime thereafter because it has many weaknesses and misunderstandings as to how it works: 1 2 3 Jun 12, 2015 at 13:16
  • If you must use the account feature (after reading up on its weaknesses), create and send your raw tx and then use the "move" command to fix the account balances. Note that this won't be an atomic operation (yet another weakness...). Jun 12, 2015 at 13:25

1 Answer 1


This is not possible and you should also mind, that the accounting system in bitcoin-core has been marked for deprecation.

The rawtx commands to not cooperate with accounts.

If possible, you should avoid accounts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.