Summary
The fan portfolio endpoint should aggregate a wallet's holdings across all creators it holds keys for. An integration test should seed holdings for multiple creators and confirm the portfolio response includes each one with correct quantities and total values.
Scope
- Seed a wallet with holdings in three different creators at different quantities
- Call the fan portfolio endpoint for that wallet
- Assert all three creators appear in the response with correct
quantity and total_value fields
- Assert a creator not held by the wallet does not appear in the response
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The fan portfolio endpoint should aggregate a wallet's holdings across all creators it holds keys for. An integration test should seed holdings for multiple creators and confirm the portfolio response includes each one with correct quantities and total values.
Scope
quantityandtotal_valuefieldsAcceptance Criteria
quantityandtotal_valuecorrect for each creatorgrand_totalfield summing alltotal_valueentriesETA: 12 hours
Coordinate on Telegram