From 5e8f0dddb5f0c7598a0ed1e1db5085d44615528a Mon Sep 17 00:00:00 2001 From: sairajzero Date: Fri, 7 Aug 2020 04:34:14 +0530 Subject: [PATCH] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b7fab07..4c92e59 100644 --- a/README.md +++ b/README.md @@ -282,11 +282,10 @@ Note: If passed as Array, then ratio of the balance of the senders are preserved `readData` reads FLO data from transactions of specified address 1. addr - FLO address for which the transactions data has to be read. 2. options - Contains options for filter data from transactions. - - limit : maximum number of filtered data (default = 1000, negative = no limit) + - limit : maximum number of filtered data (default = no limit) - ignoreOld : ignore old transactions (default = 0) - sentOnly : filters only sent data - - pattern : filters data that starts with a pattern - - contains : filters data that contains a string + - pattern : filters data that contains pattern as an object key in the JSON string - filter : custom filter funtion for floData (eg . filter: d => {return d[0] == '$'}) * Resolves: Object {totalTxs, floData (Array)}