How frequently does the GraphQL API update? #2992
howitworks18
started this conversation in
General
Replies: 4 comments 9 replies
-
Hey, that's correct there is a 10 min lag when querying an active proposal using GraphQL, to fetch fresh data you must use snapshot.js. https://docs.snapshot.org/snapshot.js |
Beta Was this translation helpful? Give feedback.
8 replies
-
ok cool, thanks for the responses! I'll probably do some sort of solution with firebase, for now, that keeps track of the vote counts in real-time and syncs with the API. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When casting a vote on a proposal, the single proposal API response doesn't get updated immediately and the "scores_updated" in the response doesn't seem to have a predictable cadence.
Beta Was this translation helpful? Give feedback.
All reactions