Sure, but how would the UX flow look like?

Let’s say I have received 50 zaps and want to claim them. I close the token by accident. With the withdrawal list I can resurface the token. How would that work if I see only “deposits”? I guess you could let the user reconstruct a token by selecting certain “ins” but how would they know which ones are really spent and which ones are marked as spent because they closed the token screen?

Reply to this note

Please Login to reply.

Discussion

Maybe a misunderstanding here because it feels super simple to me. Please bear with me I have thought about this only a few milliseconds:

- give me a summary list of all incoming payments (id. time, comment, withdrawal state, etc...)

- let me query each payment token by id

- once queried, mark it "withdrawn"

Maybe:

- you can additionally have an endpoint that consolidates all outstanding payments into a single token like it does now (which is super useful imo). And then mark all of the ones you've consolidated as withdrawn

(Still has the same issue as it has today: the server doesn't tell you if it is spent (needs checking with the mint), only if it has been requested by the user)