Update README.md

This commit is contained in:
supertestnet authored and GitHub committed 2024-10-04 17:26:32 -05:00
1 parent 54194c6095
commit 77c7086d6d
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ var offset = 2; //optional. If you include "offset" then the first n txs which *
var unpaid = true; //optional and defaults to false. Unless you set it to true, any txs that haven't been settled yet will be skipped
var type = "incoming"; //optional and defaults to null. You can set it to "incoming" to only return txs that paid you or set it to "outgoing" to only return txs where you paid someone. Keeping it null (or not including it at all) means you will get all transactions, incoming *and* outgoing.
var delay_tolerance = 3;
var txs = await nwcjs.listTransactions ( nwc_info, from, until, limit, offset, unpaid, type, delay_tolerance );
var txs = await nwcjs.listTransactions( nwc_info, from, until, limit, offset, unpaid, type, delay_tolerance );
```
## Check a payment's status