Skip to content

Add whitelist status API endpoints for early access key management #989

Description

@Chucks1093

Summary

Expose endpoints for checking whitelist status, fetching the full whitelist per key, and managing whitelist entries for creator-owned keys.

Scope

  • GET /keys/:keyId/whitelist — full whitelist with date added per address
  • GET /keys/:keyId/whitelist/:wallet — single wallet whitelist status
  • POST /keys/:keyId/whitelist — add wallets (batch support up to 100)
  • DELETE /keys/:keyId/whitelist/:wallet — remove wallet
  • Whitelist gate status included in key detail API response

Acceptance Criteria

  • Full whitelist returns all approved wallets with correct dates
  • Single wallet check returns correct boolean status
  • Batch add handles up to 100 wallets per request
  • Remove endpoint restricted to key creator
  • Gate status correctly reflected in key detail response

ETA

12 hours

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions