-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use pending_rewards
for claimed info in related endpoints
#1452
Comments
Will this "simply" add a new field |
No, my intention was not to modify the endpoints' responses as soon as Based on this comment for example, the response under claimed will now be something like this:
which is calculated by currently comparing the results from 3 calls and quite a few Note: I updated the |
Yes, that total makes sense. Bear in mind that this will simplify the logic from the relevant spec version onwards, but for previous ones, we will still need to maintain the more complex logic as introduced by #1445 |
Description
Track this issue paritytech/polkadot-sdk#4313 to see when
pending_rewards
are in production so it can be used for the claimed information in the related endpoints (staking-info
,staking-payouts
).More info
pending_rewards
will return true as long as there is a page to claimRelated to #1445
The text was updated successfully, but these errors were encountered: