Skip to content

Implement vesting schedule endpoints for creator token release tracking #909

Description

@Chucks1093

Summary

Build endpoints that expose vesting schedule data for creator key allocations, reading from on-chain state and caching for fast API responses.

Scope

  • GET /keys/:id/vesting returns vesting config, cliff, duration, and claimable amount
  • Vesting data fetched from Soroban contract and cached with 60s TTL
  • Cache invalidated on VestingClaimed contract event
  • Creator-only access for vesting endpoints
  • Claimed history endpoint returning past claim transactions

Acceptance Criteria

  • Vesting endpoint returns accurate cliff, end date, and claimable amount
  • Cache invalidated correctly on claim event
  • Creator-only access enforced via JWT
  • Claimed history returns correct past claims with tx hashes
  • Response under 200ms with valid cache

ETA

12 hours

No activity

Activity on this issue will appear here.

Activity

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