Skip to content

Implement GET /api/attestations for a given commitment #115

@1nonlypiece

Description

@1nonlypiece

Description

Create a read endpoint to list attestations for a specific commitment, optionally paginated and filtered by type/date.

Implementation Requirements

  • Path: src/app/api/attestations/route.ts with GET.
  • Query params:
    • commitmentId (required)
    • type (optional)
    • page, pageSize (optional)
  • Fetch from contracts or via the attestation engine service.
  • Return a paginated list of attestations.

Acceptance Criteria

  • Endpoint returns attestations for a commitment.
  • Filtering by type works (if supported).
  • Uses standard pagination structure.

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