createrawtransaction [{\"txid\":\"firstUnspentOutputTransactionIDHere\",\"vout\":#},{\"txid\":\"secondUnspentOutputTransactionIDHere\",\"vout\":#},{\"txid\":\"thirdUnspentOutputTransactionIDHere\",\"vout\":#}] {\"1yourChangeAddressHere\":0.00000000,\"1firstRecipientAddrHere\":0.00000000,\"1secondRecipientAddrHere\":0.00000000,\"1thirdRecipientAddrHere\":0.00000000}
Replacing:
- The various TransactionID and RecipientAddr with the appropriate information
- # with the output index of the output that you intend to use as an input into the transaction
- 0.00000000 with the amount of BTC you intend to send to each recipient
Subtract the sum of the outputs from the sum of the inputs. The difference must be greater than or equal to zero, or the transaction is invalid. If the difference is greater than zero, then the difference is the transaction fee that the miner will receive. You can adjust the fee by changing the selected inputs, outputs, or altering the value sent to your change address.