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. 🫡💜
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. 🫡💜