You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a TWAP price endpoint returning the time-weighted average price for a creator key over a configurable window #866
The client TWAP display needs a backend endpoint. A GET /keys/:keyId/twap endpoint that reads price snapshots and computes the average over a requested window should be added.
Scope
Add GET /keys/:keyId/twap?window=1h|24h|7d endpoint (no auth required)
Call the get_twap contract view function with the window converted to ledger units
Return twapPrice, spotPrice, windowLedgers, and snapshotCount in the response
Cache the response in Redis for 60 seconds and invalidate on each trade
Return null for twapPrice when fewer than 2 snapshots exist in the window
Acceptance Criteria
twapPrice computed correctly for each window
spotPrice included alongside twapPrice
null returned for twapPrice when insufficient snapshots exist
@EzikeChikelu has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
Hello maintainer, this issue is within my area of experience, and i am confident i can work toward resolving it correctly, kindly consider assigning it to me.
@plainer-rgb has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
Hello Maintainer, I’ve gone through the issue thoroughly and believe I can provide a clean, maintainable solution that aligns with the project’s existing patterns and requirements. I’d appreciate being assigned the issue.
@Jessicaayegh has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
Hi maintainer! I’d love to work on this issue if it’s still available. I have a good understanding of the requirements and would be happy to implement the solution. Thanks for considering my request!
Congratulations, @TS-mfon! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.
🧑💻 @TS-mfon: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
Activity
dot-enny commentedon Sep 24, 2026
@dot-enny has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @dot-enny to this issue.
EzikeChikelu commentedon Sep 24, 2026
@EzikeChikelu has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @EzikeChikelu to this issue.
olaide2001 commentedon Sep 24, 2026
@olaide2001 has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @olaide2001 to this issue.
plainer-rgb commentedon Sep 24, 2026
@plainer-rgb has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @plainer-rgb to this issue.
MJ-RWA commentedon Sep 24, 2026
@MJ-RWA has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @MJ-RWA to this issue.
Yerimahjr commentedon Sep 24, 2026
@Yerimahjr has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Yerimahjr to this issue.
babatundealao407-alt commentedon Sep 24, 2026
@babatundealao407-alt has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @babatundealao407-alt to this issue.
Bolajiomo99 commentedon Sep 24, 2026
@Bolajiomo99 has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Bolajiomo99 to this issue.
somotochukwu-dev commentedon Sep 24, 2026
@somotochukwu-dev has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @somotochukwu-dev to this issue.
Jessicaayegh commentedon Sep 24, 2026
@Jessicaayegh has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Jessicaayegh to this issue.
TS-mfon commentedon Sep 24, 2026
@TS-mfon has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @TS-mfon to this issue.
ponmileleke54-dev commentedon Sep 24, 2026
@ponmileleke54-dev has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @ponmileleke54-dev to this issue.
drips-wave commentedon Sep 24, 2026
Congratulations, @TS-mfon! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.
🧑💻 @TS-mfon: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
feat(keys): add TWAP price endpoint with Redis caching and invalidation
grantfox-oss commentedon Oct 1, 2026
🎉 This issue has been marked as completed on GrantFox!
@TS-mfon's PR #1007 was approved and merged by @Chucks1093.
🏆 @TS-mfon: You earned 40 FoxPoints for this contribution! Your current tier: Builder (1,062 total points). Track your full progress on GrantFox.
👏 Great work, @TS-mfon! Keep contributing to accesslayerorg.
feat(keys,creator): add TWAP, graduated curve config, trade simulatio…