Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wallet.history - paging? [question] #183

Open
KINKCreative opened this issue Oct 2, 2019 · 1 comment
Open

wallet.history - paging? [question] #183

KINKCreative opened this issue Oct 2, 2019 · 1 comment

Comments

@KINKCreative
Copy link

Hi there, I don't know where to look this up. The history returns ALL transactions? Can there be a limit passed to this? What happens with thousands and thousands of transactions - is there an efficient way to look for the most recent ones? (eg via Stellar API directly?)

Thanks!

@nathanmsmith
Copy link
Contributor

I don't believe there's currently a way to only fetch the n most recent transactions via the Keybase api currently (cc @patrickxb to confirm/potentially file a ticket to support this?).

For now my best solution to deal with a wallet with a large amount of transactions would be to filter out only the requests you need from the response (I believe the response transactions are ordered from least recent first to most recent at the end; there's also a time property that may be useful) and query history as little as possible. We're currently working on support for keybase chat api-listen --wallet, which should help if you need real-time updates on transactions (#164).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants