Returns position data for every market where the wallet currently holds YES or NO tokens. The endpoint scans the wallet’s token accounts directly for fast response times — no on-chain PDA lookups per market.
Use the needsRedemption field to quickly identify positions that need to be redeemed. This saves you from having to cross-reference market status and winning side manually.
This endpoint only returns markets where the wallet currently holds tokens. Markets where tokens have already been redeemed (balance = 0) will not appear. If you get an empty array, it means the wallet has no outstanding positions.