Skip to content

feat(keys): build leaderboard endpoint for top creator keys (#941) - #1003

Merged
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
VictorEzenma:main
Sep 29, 2026
Merged

Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
VictorEzenma:main

Conversation

@VictorEzenma

Copy link
Copy Markdown
  • Implement GET /keys/leaderboard supporting sort_by dimensions: holder_count, volume_24h, volume_7d,
    price_change
  • Add Redis caching with 60s TTL per sort dimension and graceful live computation fallback
  • Enforce limit parameter validation up to configured maximum (MAX_PAGE_SIZE = 100)
  • Handle tied ranks deterministically with secondary sort by creation date (createdAt) and tertiary keyId
    tie-breaker
  • Add comprehensive integration test suite covering all sort dimensions, ties, caching, and validation errors

Closes #941

@drips-wave

drips-wave Bot commented Sep 29, 2026

Copy link
Copy Markdown

@VictorEzenma Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093
Chucks1093 merged commit 7be4b6e into accesslayerorg:main Sep 29, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

Build leaderboard endpoint for top creator keys by holder count and volume

3 participants