0

I am trying to monitor the transactions for our main account. I am using the laboratory and I see something weird.. I filter it with ascending order to see from start up to now. My question is: From all the records that I see under this cursor - are they the previous records? And if yes, how do I get the first cursor that has no prev paging_token?

1

Cursor is optional and if you simply leave it blank then you'll get the first page containing the very first (if ascending) or very last (if descending) transactions. Indeed you'll allways get a prev link but if you follow it you'll also see that it returns an empty result.

  • ok thanks, so if i do not use asc or desc the default is always ascending? – Tzion buchris Jan 8 at 8:53
  • Default seems to be ascending, I don't know if this is the documented behaviour. Maybe you should better use the order=asc explicitely. – sui Jan 8 at 16:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.