Replies: 2 comments
-
searching in You can also get additional quota (not sure if it will solve this timeout problem) by getting API key through aptos labs developer portal https://developers.aptoslabs.com/docs/api-access/api-keys |
Beta Was this translation helpful? Give feedback.
0 replies
-
you can also run your own indexer easily so you only index events you are interested in. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discord user ID
No response
Describe your question in detail.
This is my query code to fetch the events. The default limit is 100, right?
When I provide a limit of 100, I get a database query error, even though I only have 2 event entries. If I set the limit to 2, it returns the response correctly.
However, if I set a limit greater than the available event data, it returns an error. The issue is that we don't know the exact length of the event data. Could you please help me resolve this? Thank you!
What error, if any, are you getting?
Here is my query code & error screenshot
What have you tried or looked at? Or how can we reproduce the error?
Please try running the query code I sent at the top. The default limit is 100, so you are getting a query error. However, if you set the limit to exactly 2, it will return the event data. This is because I only have 2 events for that address.
This is my example code:
Which operating system are you using?
Windows
Which SDK or tool are you using? (if any)
TypeScript SDK
Describe your environment or tooling in detail
No response
Beta Was this translation helpful? Give feedback.
All reactions