Skip to content

API docs: Treasury endpoints #439

Description

@codebestia

Write apps/backend/docs/api-treasury.md covering routes/treasury.ts — proposing a withdrawal, voting, TTL-per-ledger conversion table, and how these REST endpoints relate to the on-chain group_treasury/proposals Soroban contracts.

Acceptance criteria:

  • Every route documented with request/response shape, status codes, and validation rules (recipient address format, TTL enum values, threshold bounds)
  • The relationship between this REST layer and the on-chain contracts is explained at a "what calls what, and why both exist" level
  • Verified against the current routes/treasury.ts

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbackenddocumentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions