Summary
The fan portfolio endpoint aggregates a wallet's holdings but should exclude any creator where the current holding quantity is zero (e.g. after a full sell). An integration test should seed a zero-quantity holding and confirm it is absent from the portfolio response.
Scope
- Seed wallet A with 2 keys for creator X and 0 keys for creator Y (simulating a full sell that left a zero record)
- Call the fan portfolio endpoint for wallet A
- Assert creator X is present with
quantity: 2
- Assert creator Y is absent from the response
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The fan portfolio endpoint aggregates a wallet's holdings but should exclude any creator where the current holding quantity is zero (e.g. after a full sell). An integration test should seed a zero-quantity holding and confirm it is absent from the portfolio response.
Scope
quantity: 2Acceptance Criteria
grand_totalreflects only non-zero holdingsETA: 12 hours
Coordinate on Telegram