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 specifiedaccount_id
. - Added
staking/payee
. This returns the reward destination address assigned to the stash with the specifiedaccount_id
. - Added
staking/validators
. This returns the preferences of the validator whose stash is the specifiedaccount_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