Author

Topic: How to sendmany with low transaction fee (Read 2126 times)

legendary
Activity: 3472
Merit: 4801
May 26, 2013, 11:13:08 AM
#4
Code:
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.
sr. member
Activity: 335
Merit: 250
sendmany "" '{"address"}'


this is what im using now can you mabey give an example of how createrawtransaction would be used in the console. i cant connect directly with the api side cause i cant open the ports on this router.

I know there is a wiki page but those dont explain what the json output is supposed to look like
legendary
Activity: 3472
Merit: 4801
createrawtransaction
signrawtransaction
sendrawtransaction


You can set any fee you like.

However, if you don't set a high enough fee, your connected peers will refuse to relay the transaction.  Your intended recipient won't see it, it won't show up anywhere on the bitcoin network, and it won't get any confirmations.
sr. member
Activity: 335
Merit: 250
What options do i have to sendmany bitcoins with a small transaction fee. Bitcoin-qt dosnt allow custom fees for dust payments, so what other platforms can i use that will allow me to set my fee.

Thanks
Jump to: