mirror of
				https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
				synced 2025-10-31 02:17:24 +00:00 
			
		
		
		
	Update 4_5_Sending_Coins_with_Automated_Raw_Transactions.md
This commit is contained in:
		
							parent
							
								
									2f9cf9b7ea
								
							
						
					
					
						commit
						80915f668f
					
				| @ -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') | $ signedtx3=$(bitcoin-cli -named signrawtransaction hexstring=$rawtxhex3 | jq -r '.hex') | ||||||
| $ bitcoin-cli -named sendrawtransaction hexstring=$signedtx3 | $ 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 | ## Summary: Sending Coins with Automated Raw Transactions | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user