How do I get all the items in a stream.

+2 votes

I'm inserting numerous records on a stream and would like to retrieve all the records. I'm not finding a solution to get all the records noting that liststreamitems only lists 10 items if a count parameter is not passed in. And it seems the only way to retrieve all items on the stream to pass in a count which will be larger than the number of items you expect? What if the number of items is unknown. How do you retrieve all items?. Please help, thanks. 

asked Jul 28 by Benji

1 Answer

0 votes

Just pass in a very high count value and it will be fine, only showing the number of items that actually exist.

answered Jul 28 by MultiChain
...