From 4bdf48b1a3bbf5fd663cdf0e24dae6bf6fabc080 Mon Sep 17 00:00:00 2001 From: supertestnet <58400631+supertestnet@users.noreply.github.com> Date: Wed, 14 Aug 2024 19:20:43 -0500 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e7d4ed..e6f0c16 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ var until = 1723680682; //optional. If you include "until" then no tx created af var limit = 10; //optional. If you include "limit" then a number of txs equal to or smaller than your limit will be returned var offset = 2; //optional. If you include "offset" then the first n txs which *would* have been returned will be skipped (where n == offset) 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 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 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 ); ```