github SimplyStaking/polkadot_api_server v1.27.1

latest releases: v1.29.1, v1.28.1
3 years ago

Released on 13th April 2021

  • Updated @polkadot/api and @polkadot/api-derive packages to v4.3.1.
  • Added staking/bonded. This returns the controller account assigned to the stash account with the specified account_id.
  • Added staking/payee. This returns the reward destination address assigned to the stash with the specified account_id.
  • Added staking/validators. This returns the preferences of the validator whose stash is the specified account_id.

Update Instructions

If running from source

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

If running as a Docker image

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

Don't miss a new polkadot_api_server release

NewReleases is sending notifications on new releases.