Class

TransactionIterator

TransactionIterator()

An iterator that allows scripts to iterate over a potentially large collection of transactions.

Constructor

new TransactionIterator()

See:

Methods

getContinuationToken() → {string}

Gets a token that can be used to resume this iteration at a later time.

This method is useful if processing an iterator in one execution would exceed the maximum execution time. Continuation tokens are generally valid short period of time.
a continuation token that can be used to resume this iteration with the items that remained in the iterator when the token was generated
string

hasNext() → {boolean}

Determines whether calling next() will return a transaction.
true if next() will return an item; false if not
boolean

next() → {Transaction}

Gets the next transaction in the collection of transactions.
the next transaction in the collection
Transaction