Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
now "pay" and "paytomany" sign transaction and broadcast it. Returns TXID
  • Loading branch information
jeankassio authored Nov 11, 2024
1 parent 9e5a32b commit 85ebc9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ $unsigned = false;
$replaceByFee = true;

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

### Pay to Multiple Addresses
Expand Down Expand Up @@ -194,7 +194,7 @@ $unsigned = false;
$replaceByFee = false;

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

### Load a Wallet
Expand Down

0 comments on commit 85ebc9b

Please # to comment.