Hello,
I am trying to download all my account downloads using js but I am having trouble coding something up. In the sdk is shows ways to download a single page containing up to 10 transactions but I want it to show literally every transaction on my account. How do I write a loop using:
.then(function (page) {
console.log('Page 1: ');
console.log(page.records);
return page.next();
})
and make it so it is a while loop(while there are more pages keep pulling new info).
I don't want to copy and paste that over and over when I don't know how many transactions there will be.
Thanks!

I started stream now but I need access to the memo and that is only given as a html address in the form of the transaction. how do i access that?

Use the payment transaction hash to fetch the transaction.

Something like:

server.transactions()
.transaction(payment.transaction_hash)
.call()
.then(...)

Also see the Following links section on the same page

    Can I do a server call within a server call? I want to get the memo and display it in a specific spot in the first server call.