Summary
Build REST endpoints for fetching dividend distribution history per key, per-holder pending dividends, and submitting claim transactions to the Soroban contract.
Scope
- GET /keys/:keyId/dividends — distribution history with pagination
- GET /holders/:wallet/dividends — aggregate pending and claimed across all held keys
- POST /keys/:keyId/dividends/claim — build and return unsigned claim transaction
- Dividend data indexed from contract events
- Cache distribution history with 60s TTL
Acceptance Criteria
ETA
12 hours
Summary
Build REST endpoints for fetching dividend distribution history per key, per-holder pending dividends, and submitting claim transactions to the Soroban contract.
Scope
Acceptance Criteria
ETA
12 hours