I'm using bitcoind and would like to understand how to create transactions that send inputs from many specifically selected addresses (from my wallet) to one destination address. I want to do manually what the sendtoaddress command does automatically.

If this operation requires me to create a raw transaction could you please provide a working example? I already read bitcoin.it:raw_transactions, but it is hard to understand without an example and unfortunately the wiki article doesn't provide any.

I would appreciate help greatly.

  • 1
    Please be careful, I have seen many people accidently mess up with raw transactions. Such as sending hundreads of BTC as a miners fee or the likes.
    – MaxSan
    Sep 16, 2013 at 14:44
  • I will plan to test dipply with small amounts first.
    – Arsenius
    Sep 16, 2013 at 15:28
  • There is also the "testnet" which is made for testing
    – RentFree
    Nov 17, 2013 at 5:36
  • Look this, you have a example: bitcoin.stackexchange.com/questions/68820/… Jan 17, 2018 at 18:38

1 Answer 1


When you have a bitcoin balance, that balance is actually unspent outputs from transactions your addresses have already received.

So when you want to send a raw transaction, what you include in that is the transactions and unspent outputs from those transactions... these can be from any address in your wallet.

The basic idea is;

createrawtransaction signrawtransaction sendrawtransaction

If you google around, you'll find plenty of examples of their use.

  • Cool, please mark as answer to give me some cred :)
    – ManreeRist
    Sep 17, 2013 at 23:39
  • Not enough reputation to do it, but I will.
    – Arsenius
    Oct 3, 2013 at 4:56
  • Coinbin seem to require internet/blockchain access in order to create a raw transaction. Is this true with all methods of creating raw transactions? May 29, 2015 at 21:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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