mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-22 16:18:11 +00:00
Made changes to ch03.asciidoc
This commit is contained in:
parent
ebf9af0b69
commit
d32a907bb6
@ -1071,9 +1071,12 @@ $ bitcoin-cli sendrawtransaction0100000001e34ac1e2baac09c366fce1c2245536bda8f<?p
|
||||
|
||||
The command +sendrawtransaction+ returns a _transaction hash (txid)_ as it submits the transaction on the network. We can now query that transaction ID with +gettransaction+:
|
||||
|
||||
----
|
||||
$ bitcoin-cli gettransaction ae74538baa914f3799081ba78429d5d84f36a0127438e9f721dff584ac17b346
|
||||
----
|
||||
++++
|
||||
<screen>
|
||||
$ bitcoin-cli gettransaction ae74538baa914f3799081ba78429d5d84f36a0127438e9f7<?pdf-cr?>21dff584ac17b346
|
||||
</screen>
|
||||
++++
|
||||
|
||||
[source,json]
|
||||
----
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user