Summary
The wallet holdings endpoint must validate the address path param before querying the database. An integration test should confirm a malformed address returns 400 with a clear error and no database query is executed.
Scope
- Call
GET /wallets/:address/holdings with several invalid address formats: too short, wrong prefix, contains invalid characters
- Assert each returns 400 with a descriptive error identifying the
address field
- Assert no database query was attempted for invalid inputs
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The wallet holdings endpoint must validate the address path param before querying the database. An integration test should confirm a malformed address returns 400 with a clear error and no database query is executed.
Scope
GET /wallets/:address/holdingswith several invalid address formats: too short, wrong prefix, contains invalid charactersaddressfieldAcceptance Criteria
addressfield in all casesETA: 12 hours
Coordinate on Telegram