Summary
The wallet activity feed endpoint should return a wallet's buy and sell trades ordered by ledger number descending so the most recent activity appears first. An integration test should seed trades at different ledgers and confirm the response order.
Scope
- Seed three trades for the same wallet at ledgers 1000, 2000, and 3000
- Call the wallet activity feed endpoint
- Assert trades are returned in order: ledger 3000, 2000, 1000
- Assert the
type field correctly identifies each trade as buy or sell
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The wallet activity feed endpoint should return a wallet's buy and sell trades ordered by ledger number descending so the most recent activity appears first. An integration test should seed trades at different ledgers and confirm the response order.
Scope
typefield correctly identifies each trade as buy or sellAcceptance Criteria
typefield correct for each tradeETA: 12 hours
Coordinate on Telegram