Skip to content

Commit 85ebc9b

Browse files
authored
Update README.md
now "pay" and "paytomany" sign transaction and broadcast it. Returns TXID
1 parent 9e5a32b commit 85ebc9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ $unsigned = false;
164164
$replaceByFee = true;
165165

166166
$response = $electrum->pay($address, $amount, $fee, $feerate, $fromAddr, $fromCoins, $change, $nocheck, $unsigned, $replaceByFee);
167-
echo "Payment response: " . json_encode($response);
167+
echo "TXID: " . json_encode($response);
168168
```
169169

170170
### Pay to Multiple Addresses
@@ -194,7 +194,7 @@ $unsigned = false;
194194
$replaceByFee = false;
195195

196196
$response = $electrum->payToMany($outputs, $fee, $feerate, $fromAddr, $fromCoins, $change, $nocheck, $unsigned, $replaceByFee);
197-
echo "Payment response: " . json_encode($response);
197+
echo "TXID: " . json_encode($response);
198198
```
199199

200200
### Load a Wallet

0 commit comments

Comments
 (0)