let pagedTransactions = accountHttp.allTransactionsPaginated(address, { pageSize: 10});
let time = 0;
pagedTransactions.subscribe(x => {
console.log("TIME ", ++time);
console.log(“transactions size”, x.length);
// Fetch the next 100 transactions
pagedTransactions.nextPage();
}, err => {
console.log(“error”);
}, () => {
// when this lambda is called, it means all transactions have been fetched
console.log(“complete”);
});
I have implemented according to the documentation. My address has only one transaction, but function nextPage() run very slow. I don’t understand why? And Has the solution to solve this problem?
Thanks!