How to get 'pending rewards'

GET /v1/account/{address}
The API does not return ‘pending rewards’

1 Like

api.algoexplorer.io does not seem to provide the pending rewards value (see https://api.algoexplorer.io/v1/doc/swagger.yml)

Note that api.algoexplorer.io is different from the API described on https://developer.algorand.org/docs/algod-rest-paths
This later API provides pending rewards. To access it, you can run a node (https://developer.algorand.org/docs/introduction-installing-node) or use PureStake API (https://www.purestake.com/technology/algorand-api/)

2 Likes

Thanks for the mention @fabrice - PureStake does provide the native version of the Algorand API (with a few documented exceptions) to developers, check out our Developer Portal

Hi,
We’ll add that information in the next release.

Best,
Pablo