Fetching data from SmartTable #625
Unanswered
rudreshkoranne
asked this question in
Questions
Replies: 2 comments
-
hi you probably want to use an offchain indexer in this case, and not store data in an onchain table. you can look at an example indexer at https://github.com/0xaptosj/aptos-full-stack-template |
Beta Was this translation helpful? Give feedback.
0 replies
-
we also have a community member that made an indexer in ts https://github.com/lithdew/aptos-indexer |
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.
Hey all,
I have a
smart_table<address, Player>
stored in my resource, where thePlayer
struct is defined as:With around 1 million entries in the
smart_table
, I need to retrieve all records that were updated within a specific time period. However, the view function is throwing an error. EXCEEDED_EXECUTION_LIMITAny ideas on how to resolve this?
What error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
No response
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