Update 4_5_Sending_Coins_with_Automated_Raw_Transactions.md

This commit is contained in:
Shannon Appelcline 2017-04-05 11:41:50 -07:00 committed by GitHub
parent 2f9cf9b7ea
commit 80915f668f

View File

@ -129,6 +129,23 @@ At this point you could sign and send the transaction as usual.
$ signedtx3=$(bitcoin-cli -named signrawtransaction hexstring=$rawtxhex3 | jq -r '.hex')
$ bitcoin-cli -named sendrawtransaction hexstring=$signedtx3
```
In several minutes, you'll have your change back:
```
$ bitcoin-cli listunspent
[
{
"txid": "37698ad6e7f62df07c2fbc549339aa680a7fa18328d7ad14ecb72b21c505cbc6",
"vout": 0,
"address": "mhBPM8hU2PHjDTUvwa3SC7pqv8ExkK6mH8",
"scriptPubKey": "76a914123cd8796558d195e52137ce3800e5f8120ee46f88ac",
"amount": 0.84927400,
"confirmations": 1,
"spendable": true,
"solvable": true
}
]
```
## Summary: Sending Coins with Automated Raw Transactions