What is Nostr?
Egge /
npub1mhc…c226
2024-08-10 07:26:52

Egge on Nostr: PSA: npub.cash just had a small change in its public API! While /claim used to return ...

PSA: npub.cash just had a small change in its public API!

While /claim used to return a token containing all pending proofs, it now returns a token containing max. 100 proofs! Additionally there are two new keys in the payload:

- count: how many proofs are included
- total pending: how many proofs are pending in total for the user

This change makes sure that the token does not get too long for handling it and lets API users now if there are more proofs pending.

I am not perfectly happy with this yet and I will continue looking into other ways to handle these edge cases. 🫡💜
Author Public Key
npub1mhcr4j594hsrnen594d7700n2t03n8gdx83zhxzculk6sh9nhwlq7uc226