Hi guys,
I'm trying to get a list of the n most recent transactions on an account, using listtransactions. However, the results returned are not the n most recent when you specify the <from> field.
Example:
What you get is only the
n - <from> most recent transactions:
i.e. listtransactions <account> 3 2
5 oldest
*-----returned data------------
4 old
3 new
2 new <--- from 2
*-----returned data------------
1 new
0 newest
When what you should get is:
i.e. listtransactions <account> 3 2
5 oldest
4 old
3 new
*-----returned data------------
2 new <--- from 2
1 new
0 newest
*-----returned data------------
Any idea how I can get the desired result without having to pull every single transaction down, and reverse the index?
Cheers, Paul.