mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-07 16:06:26 +00:00
commit
c9f31b3b17
@ -273,7 +273,7 @@ You now can sign transaction with the method `signRawTransactionWithKey`. This m
|
|||||||
Finally, sending requires the `sendRawTransaction` command:
|
Finally, sending requires the `sendRawTransaction` command:
|
||||||
```java
|
```java
|
||||||
String sentRawTransactionID = rpcClient.sendRawTransaction(srTx.hex());
|
String sentRawTransactionID = rpcClient.sendRawTransaction(srTx.hex());
|
||||||
System.out.println("Sent signedRawTx (txID): " + sentRawTransactionID);```
|
System.out.println("Sent signedRawTx (txID): " + sentRawTransactionID);
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run Your Code
|
### Run Your Code
|
||||||
|
Loading…
x
Reference in New Issue
Block a user