Skip to content

Add an auction state endpoint returning the current auction config and sold count for a creator key #844

Description

@Chucks1093

Summary

The creator dashboard auction panel needs to read the current auction state. A GET /keys/:keyId/auction endpoint that returns the configured auction price, supply, and sold count from the contract should be added.

Scope

  • Add GET /keys/:keyId/auction endpoint (no auth required)
  • Return auctionPrice, auctionSupply, auctionSold, and auctionStatus (not_configured, active, completed)
  • Read auction state from persistent contract storage via the Soroban RPC
  • Cache the response in Redis for 30 seconds and invalidate after each auction buy
  • Return 404 for unknown key IDs

Acceptance Criteria

  • auctionPrice, auctionSupply, and auctionSold returned correctly
  • auctionStatus computed correctly for each state
  • not_configured returned when no auction is set up
  • Cache invalidated after each auction buy
  • 404 returned for unknown key ID

ETA: 12 hours


Coordinate on Telegram

Activity

  1. Netty-kun commented on Aug 29, 2026

    @Netty-kun

    @Netty-kun has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi maintainer, I have read and understood the issue requirements and checked the necessary documentation. I’m confident I can work on this task effectively and deliver a proper solution.
    Happy to discuss the approach first if that's useful before I start.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Netty-kun to this issue.

  2. KingDavid9999 commented on Aug 29, 2026

    @KingDavid9999
    Contributor

    @KingDavid9999 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi maintainer, I'd very much appreciate the opportunity to work on this issue.
    Having reviewed the acceptance criteria, I'm confident that I'd be able to have a PR up shortly after being assigned.
    Kindly assign this issue to me.
    Thank you!

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @KingDavid9999 to this issue.

  3. devJaja commented on Aug 29, 2026

    @devJaja
    Contributor

    @devJaja has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    can I work on this please

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @devJaja to this issue.

  4. drips-wave commented on Aug 29, 2026

    @drips-wave

    Congratulations, @devJaja! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

    🧑‍💻 @devJaja: 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 🌊

  5. devJaja commented on Aug 31, 2026

    @devJaja
    Contributor

    Closed by PR #859 — auction state endpoint implemented.

  6. devJaja commented on Aug 31, 2026

    @devJaja
    Contributor

    Closed by PR #859

  7. grantfox-oss commented on Oct 9, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @devJaja's PR #859 was approved and merged by @Chucks1093.

    🏆 @devJaja: You earned 40 FoxPoints for this contribution! Your current tier: Builder (1,262 total points). Track your full progress on GrantFox.

    👏 Great work, @devJaja! Keep contributing to accesslayerorg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions