mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-08 00:16:26 +00:00
Update 4_5_Sending_Coins_with_Automated_Raw_Transactions.md
This commit is contained in:
parent
dd504099e3
commit
572a13bffd
@ -25,7 +25,7 @@ txconfirmtarget=1
|
||||
|
||||
To use `fundrawtransaction` you first need to create a bare-bones raw transaction that lists _no_ inputs and _no_ change address. You'll just list your recipient and how much you want to send them:
|
||||
```
|
||||
$ unfinishedtx=$(bitcoin-cli -named createrawtransaction transactions='''[]''' outputs='''{ "'$recipient'": 1.0 }''')
|
||||
$ unfinishedtx=$(bitcoin-cli -named createrawtransaction inputs='''[]''' outputs='''{ "'$recipient'": 1.0 }''')
|
||||
```
|
||||
|
||||
## Fund Your Bare Bones Transaction
|
||||
|
Loading…
x
Reference in New Issue
Block a user