github SimplyStaking/polkadot_api_server v1.9.1

latest releases: v1.29.1, v1.28.1, v1.27.1...
4 years ago

This release includes the latest stable version of the @polkadot/api package, v1.9.1.

Changes:

Additions:

  • /api/query/staking/erasRewardPoints has been added, which returns the total and individual rewards in the specified era index, or in the active one if it is not specified.
  • /api/query/staking/erasValidatorReward has been added, which returns the total validator era payout in the specified era index, or in the last finished era (active era - 1) if it is not specified.

To update to the latest release:

If running Polkadot API Server from source:

git pull
npm ci
# stop the older instance of the API Server
bash run_api.sh

If running as a Docker image

docker ps
docker stop <CONTAINER ID of the older release of the API Server>
docker run -p 3000:3000 \
    -v <CONFIG_DIR>:/opt/polkadot_api_server/config:ro \
    -d simplyvc/polkadot_api_server:1.9.1

Don't miss a new polkadot_api_server release

NewReleases is sending notifications on new releases.