Sign Raw Transaction

signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey": "hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )

Signs a raw transaction in preparation for sending to the network. The wallet must be unlocked. See createrawtransaction and sendrawtransaction.

signrawtransaction 020000001d637cf207c6418fb6220cfcb2b141ba5d230f0ba0a43c68b358aff9a8a6000000000fffffff0509e5f50480000001f053ed6defacd09ef6060000000187aa814bd4ae4167bebbf56bb7c51c5eabf35d50a5c6e7f33ad0000000983a952d5fb15a70832ffdc3cadd3dc7749a49b


{
"hex": "020000003d6b5df207d94bae095b07b4538cb8a1b4ea2c42852feffcfb36dc8494b5238f24402100514aab22c8be9458056bb14f755adae12adf15721eb0b6cd314230237c26707210dd486ffc6e7ea92f2b30e428c1f3726e3dfc09418bb815f64bd32d7d5836ffb4520adca3871fdaf397afd20f60f0a39c6fc353ae18000000006b5734040229999abc42d6d189fffffff0301e1d505420000002976b414d4fcc597395462ec3fdab4d6b49bc9af53fed3d87add09fe60400000001986a824dcead1313bfdde586b8bc3cd2ace54d4fa4b6f6887ad0000000",
"complete": true
}


stop

Shuts down and exits the wallet. No return value - the wallet exits.

stop