Author

Topic: json-rpc: createrawtransaction (Read 1068 times)

legendary
Activity: 1974
Merit: 1029
June 03, 2013, 02:51:07 AM
#2
Yes to all. You can play with createrawtransaction in testnet to avoid the risk of losing funds.
newbie
Activity: 30
Merit: 0
June 01, 2013, 12:55:15 PM
#1
Hi,

I need somebody to verify that i got this right :

- When composing a createrawtransaction, it's the unspent transactions in the wallet (> listunspent) that are used for input ?

- Every unspent trx input i use for my trx will be used in it's entirety ?

- If the sum of the unspents i use,  is higher than the amount i want to send, i have to add a change address of my own, and direct (sum(unspents_used_in_rawtrx) - amount_i_want_to_Send) to that address in the same trx ?

- Any amount of sum(unspents_used_in_rawtrx) that are not sent to neither the recipient, nor my change address, will be fees ?

Thanks !

/orz.dk





Jump to: