Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@substrate/api-sidecar

paritytech1.3kGPL-3.0-or-later20.2.2TypeScript support: included

REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.

substrate, api, sidecar, polkadot, kusama

readme



@substrate/api-sidecar

REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.

npm Github Actions GPL-3.0-or-later



Prerequisites

<= v15.0.0

This service requires Node versions 14 or higher.

Compatibility: | Node Version | Stablility | |---------------|:-----------:| | v14.x.x | Stable | | v16.x.x | Stable | | v17.x.x | Stable | | v18.x.x | Stable | | v19.x.x | stable |

>= v16.0.0

This service requires Node versions 18.14 or higher.

Compatibility: | Node Version | Stablility | |---------------|:-----------:| | v18.14.x | Stable | | v20.x.x | Stable | | v21.x.x | Pending |

NOTE: Node LTS (long term support) versions start with an even number, and odd number versions are subject to a 6 month testing period with active support before they are unsupported. It is recommended to use sidecar with a stable actively maintained version of node.js.

Table of contents

NPM package installation and usage

Global installation

Install the service globally:

npm install -g @substrate/api-sidecar
# OR
yarn global add @substrate/api-sidecar

Run the service from any directory on your machine:

substrate-api-sidecar

To check your version you may append the --version flag to substrate-api-sidecar.

Local installation

Install the service locally:

npm install @substrate/api-sidecar
# OR
yarn add @substrate/api-sidecar

Run the service from within the local directory:

node_modules/.bin/substrate-api-sidecar

Finishing up

Jump to the configuration section for more details on connecting to a node.

Click here for full endpoint docs.

In the full endpoints doc, you will also find the following trace related endpoints :

  • /experimental/blocks/{blockId}/traces/operations?actions=false
  • /experimental/blocks/head/traces/operations?actions=false
  • /experimental/blocks/{blockId}/traces
  • /experimental/blocks/head/traces

To have access to these endpoints you need to :

  1. Run your node with the flag —unsafe-rpc-external
  2. Check in sidecar if BlocksTrace controller is active for the chain you are running.

Currently BlocksTrace controller is active in Polkadot and Kusama.

Source code installation and usage

Quick install

Simply run yarn.

Rust development installation

If you are looking to hack on the calc Rust crate make sure your machine has an up-to-date version of rustup installed to manage Rust dependencies.

Install wasm-pack if your machine does not already have it:

cargo install wasm-pack

Use yarn to do the remaining setup:

yarn

Running

# For live reload in development
yarn dev

# To build and run
yarn build
yarn start

Jump to the configuration section for more details on connecting to a node.

Configuration

To use a specific env profile (here for instance a profile called 'env.sample'):

NODE_ENV=sample yarn start

For more information on our configuration manager visit its readme here. See Specs.ts to view the env configuration spec.

Express server

  • SAS_EXPRESS_BIND_HOST: address on which the server will be listening, defaults to 127.0.0.1.
  • SAS_EXPRESS_PORT: port on which the server will be listening, defaults to 8080.
  • SAS_EXPRESS_KEEP_ALIVE_TIMEOUT: Set the keepAliveTimeout in express.
  • SAS_EXPRESS_MAX_BODY: Set the size of request body payload, defaults to 100kb
  • SAS_EXPRESS_INJECTED_CONTROLLERS: When set (e.g. SASEXPRESS_INJECTED_CONTROLLERS=true_), automatically detects the available pallets in the chain's metadata and injects the appropriate controllers. If set to false, it uses the controllers defined in the chains configuration files. Defaults to false when the flag is not defined. Note: This flag does not replace completely the need of the chains-config files since we are still retrieving the options from that file.

Substrate node

  • SAS_SUBSTRATE_URL: URL to which the RPC proxy will attempt to connect to, defaults to ws://127.0.0.1:9944. Accepts both a websocket, and http URL.

Metrics Server

  • SAS_METRICS_ENABLED: Boolean to enable the metrics server instance with Prometheus (server metrics) and Loki (logging) connections. Defaults to false.
  • SAS_METRICS_PROM_HOST: The host of the prometheus server used to listen to metrics emitted, defaults to 127.0.0.1.
  • SAS_METRICS_PROM_PORT: The port of the prometheus server, defaults to 9100.
  • SAS_METRICS_LOKI_HOST: The host of the loki server used to pull the logs, defaults to 127.0.0.1.
  • SAS_METRICS_LOKI_PORT: The port of the loki server, defaults to 3100

Custom substrate types

Some chains require custom type definitions in order for Sidecar to know how to decode the data retrieved from the node. Sidecar affords environment variables which allow the user to specify an absolute path to a JSON file that contains type definitions in the corresponding formats. Consult polkadot-js/api for more info on the type formats (see RegisteredTypes). There is a helper CLI tool called generate-type-bundle that can generate a typesBundle.json file for you using chain information from @polkadot/apps-config. The generated json file from this tool will work directly with the SAS_SUBSTRATE_TYPES_BUNDLE ENV variable.

  • SAS_SUBSTRATE_TYPES_BUNDLE: a bundle of types with versioning info, type aliases, derives, and rpc definitions. Format: OverrideBundleType (see typesBundle).
  • SAS_SUBSTRATE_TYPES_CHAIN: type definitions keyed by chainName. Format: Record<string, RegistryTypes> (see typesChain).
  • SAS_SUBSTRATE_TYPES_SPEC: type definitions keyed by specName. Format: Record<string, RegistryTypes> (see typesSpec).
  • SAS_SUBSTRATE_TYPES: type definitions and overrides, not keyed. Format: RegistryTypes (see types).

You can read more about defining types for polkadot-js here.

Connecting a modified node template

Polkadot-js can recognize the standard node template and inject the correct types, but if you have modified the name of your chain in the node template you will need to add the types manually in a JSON types file like so:

// my-chains-types.json
{
  "Address": "AccountId",
  "LookupSource": "AccountId"
}

and then set the enviroment variable to point to your definitions:

export SAS_SUBSTRATE_TYPES=/path/to/my-chains-types.json

Logging

  • SAS_LOG_LEVEL: The lowest priority log level to surface, defaults to info. Tip: set to http to see all HTTP requests.
  • SAS_LOG_JSON:Whether or not to have logs formatted as JSON, defaults to false. Useful when using stdout to programmatically process Sidecar log data.
  • SAS_LOG_FILTER_RPC: Whether or not to filter polkadot-js API-WS RPC logging, defaults to false.
  • SAS_LOG_STRIP_ANSI: Whether or not to strip ANSI characters from logs, defaults to false. Useful when logging RPC calls with JSON written to transports.
  • SAS_LOG_WRITE: Whether or not to write logs to a log file. Default is set to false. Accepts a boolean value. The log files will be written as logs.log. NOTE: It will only log what is available depending on what SAS_LOG_LEVEL is set to.
  • SAS_LOG_WRITE_PATH: Specifies the path to write the log files. Default will be where the package is installed.
  • SAS_LOG_WRITE_MAX_FILE_SIZE: Specifies in bytes what the max file size for the written log files should be. Default is 5242880 (5MB). NOTE Once the the max amount of files have reached their max size, the logger will start to rewrite over the first log file.
  • SAS_LOG_WRITE_MAX_FILES: Specifies how many files can be written. Default is 5.

Log levels

Log levels in order of decreasing importance are: error, warn, info, http, verbose, debug, silly.

http status code range log level
code < 400 http
400 <= code < 500 warn
500 < code error

RPC logging

If looking to track raw RPC requests/responses, one can use yarn start:log-rpc to turn on polkadot-js's logging. It is recommended to also set SAS_LOG_STRIP_ANSI=true to increase the readability of the logging stream.

N.B. If running yarn start:log-rpc, the NODE_ENV will be set to test. In order still run your .env file you can symlink it with .env.test. For example you could run ln -s .env.myEnv .env.test && yarn start:log-rpc to use .env.myEnv to set ENV variables. (see linux commands ln and unlink for more info.)

Prometheus server

Prometheus metrics can be enabled by running sidecar with the following env configuration: SAS_METRICS_ENABLED=true

You can also expand the metrics tracking capabilities to include query params by adding to the env configuration: SAS_METRICS_INCLUDE_QUERYPARAMS=true

The metrics endpoint can then be accessed :

  • on the default port : http://127.0.0.1:9100/metrics or
  • on your custom port if you defined one : http://127.0.0.1:<YOUR_CUSTOM_PORT>/metrics

A JSON format response is available at http://127.0.0.1:9100/metrics.json.

That way you will have access to the default prometheus node instance metrics and the following metrics will be emitted for each route:

  • sas_http_request_error: type counter and tracks http errors occuring in sidecar
  • sas_http_request_success: type counter and tracks successfull http requests
  • sas_http_requests: type counter and tracks all http requests
  • sas_request_duration_seconds: type histogram and tracks the latency of the requests
  • sas_response_size_bytes_seconds: type histogram and tracks the response size of the requests
  • sas_response_size_latency_ratio_seconds: type histogram and tracks the response bytes per second of the requests

The blocks controller also includes the following route-specific metrics:

  • sas_extrinsics_in_request: type histogram and tracks the number of extrinsics returned in the request when a range of blocks is queried
  • sas_extrinsics_per_second: type histogram and tracks the returned extrinics per second
  • sas_extrinsics_per_block: type histogram and tracks the returned extrinsics per block
  • sas_seconds_per_block: type histogram and tracks the request time per block

The metrics registry is injected in the Response object when the SAS_METRICS_ENABLED flag is set to true in the .env file, allowing to extend the controller based metrics to any given controller from within the controller functions.

To successfully run and access the metrics and logs in Grafana (for example) the following are required:

  • prometheus server (info here)
  • loki server and promtail (info here)

For mac users using homebrew:

brew install prometheus loki promtail

Debugging fee and staking payout calculations

It is possible to get more information about the fee and staking payout calculation process logged to the console. Because these calculations happens in the statically compiled web assembly part, a re-compile with the proper environment variable set is necessary:

CALC_DEBUG=1 sh calc/build.sh

Available endpoints

Click here for full endpoint docs.

Chain integration guide

Click here for chain integration guide.

Docker

With each release, the maintainers publish a docker image to dockerhub at parity/substrate-api-sidecar

Pull the latest release

docker pull docker.io/parity/substrate-api-sidecar:latest

The specific image tag matches the release version.

Or build from source

yarn build:docker

Run

# For default use run:
docker run --rm -it --read-only -p 8080:8080 substrate-api-sidecar

# Or if you want to use environment variables set in `.env.docker`, run:
docker run --rm -it --read-only --env-file .env.docker -p 8080:8080 substrate-api-sidecar

NOTE: While you could omit the --read-only flag, it is strongly recommended for containers used in production.

then you can test with:

curl -s http://0.0.0.0:8080/blocks/head | jq

N.B. The docker flow presented here is just a sample to help get started. Modifications may be necessary for secure usage.

Contribute

Need help or want to contribute ideas or code? Head over to our CONTRIBUTING doc for more information.

Notes for maintainers

Commits

All the commits in this repo follow the Conventional Commits spec. When merging a PR, make sure 1) to use squash merge and 2) that the title of the PR follows the Conventional Commits spec.

Updating polkadot-js dependencies

  1. Whenever the polkadot-js ecosystem releases a new version, it's important to keep up with these updates and review the release notes for any breaking changes or high priority updates. In order to update all the dependencies and resolutions, create a new branch, such as yourname-update-pjs, and then run yarn up "@polkadot/*" in that branch.

  2. Ensure everything is up to date and working by running the following:

    yarn
    yarn dedupe
    yarn build
    yarn lint
    yarn test
    yarn test:historical-e2e-tests
    yarn test:latest-e2e-tests
  3. Commit the dependency updates with a name like chore(deps): update polkadot-js deps (adjust the title based on what was updated; refer to the commit history for examples). Then, wait for it to be merged.

  4. Follow RELEASE.md next if you're working through a full sidecar release. This will involve creating a separate PR where the changelog and versions are bumped.

Maintenance Guide

A more complete list of the maintainer's tasks can be found in the MAINTENANCE.md guide.

Hardware requirements

Disk Space

Sidecar is a stateless program and thus should not use any disk space.

Memory

The requirements follow the default of node.js processes which is an upper bound in HEAP memory of a little less than 2GB thus 4GB of memory should be sufficient.

Running sidecar and a node

Please note that if you run sidecar next to a substrate node in a single machine then your system specifications should improve significantly.

  • Our official specifications related to validator nodes can be found in the polkadot wiki page.
  • Regarding archive nodes :
    • again as mentioned in the polkadot wiki page, the space needed from an archive node depends on which block we are currently on (of the specific chain we are referring to).
    • there are no other hardware requirements for an archive node since it is not time critical (archive nodes do not participate in the consensus).

Benchmarks

During the benchmarks we performed, we concluded that sidecar would use a max of 1.1GB of RSS memory.

The benchmarks were:

  • using 4 threads over 12 open http connections and
  • were overloading the cache with every runtime possible on polkadot.

Hardware specs in which the benchmarks were performed:

Machine type:
n2-standard-4 (4 vCPUs, 16 GB memory)

CPU Platform:
Intel Cascade Lake

Hard-Disk:
500GB

Benchmarks are automatically published in Github pages under the url https://paritytech.github.io/substrate-api-sidecar/dev/bench/. The data in the graphs are updated with every new commit/push in the master branch (refer to the benchmark.yml for more details).

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

20.2.2 (2025-04-11)

Fix

Chores

  • chore(deps-dev): bump @types/express from 5.0.0 to 5.0.1 (#1623) (bd0b57a)
  • chore(deps): bump lru-cache from 11.0.2 to 11.1.0 (#1624) (0ca4fcf)
  • chore(deps): bump actions/create-github-app-token from 1 to 2 (#1626) (f7dc001)
  • chore(deps): bump Swatinem/rust-cache from 2.7.7 to 2.7.8 (#1621) (6f6ae64)
  • chore(deps): bump the pjs group with 5 updates (#1625) (d9c832e)
  • chore(deps): update deps & small fixes in calc (#1628) (219b8ad)

Compatibility

Tested against the following node releases:

  • Polkadot v1.18.0 (Polkadot stable2503-3)
  • Kusama v1.18.0 (Polkadot stable2503-3)
  • Westend v1.18.0 (Polkadot stable2503-3)

Tested against the following runtime releases:

  • Polkadot v1004001
  • Kusama v1004001
  • Westend v1018001

20.2.1 (2025-03-14)

Perf

  • perf: optimization of mapStakers function (#1613) (743cb79)

Fix

  • fix: unappliedSlashes call in staking/progress endpoint (#1612) (344491f)

Chores

  • chore(deps): update deps in /docs (#1619) (37a3ebb)
  • chore(deps): bump axios from 1.7.7 to 1.8.3 in /docs (#1618) (dec24d7)
  • chore(deps): bump @babel/runtime-corejs3 from 7.26.0 to 7.26.10 in /docs (#1617) (01670c1)
  • chore(deps): bump @babel/runtime from 7.23.9 to 7.26.10 in /docs (#1616) (b980479)
  • chore(deps): update polkadot-js deps to v15.8.1 (#1615) (8a79dcc)

Compatibility

Tested against the following node releases:

  • Polkadot v1.17.3 (Polkadot stable2412-3)
  • Kusama v1.17.3 (Polkadot stable2412-3)
  • Westend v1.17.3 (Polkadot stable2412-3)

Tested against the following runtime releases:

  • Polkadot v1004001
  • Kusama v1004001
  • Westend v1018001

20.2.0 (2025-03-03)

Features

  • feat: inject controllers using metadata's definition of pallets (#1592) (2aa6e6a)
  • feat: [AHM] - Add AH Next Westend chain (#1586) (7217e6e)

Fix

Chores

  • chore(deps): update polkadot-js deps to v15.7.1 (#1606) (0ad81d1)
  • chore(deps): bump docker/build-push-action from 6.14.0 to 6.15.0 (#1603) (e665b7a)
  • chore(deps): bump docker/build-push-action from 6.13.0 to 6.14.0 (#1598) (2c926c7)
  • chore(deps): bump rxjs from 7.8.1 to 7.8.2 (#1602) (18b0014)

Compatibility

Tested against the following node releases:

  • Polkadot v1.17.2 (Polkadot stable2412-2)
  • Kusama v1.17.2 (Polkadot stable2412-2)
  • Westend v1.17.2 (Polkadot stable2412-2)

Tested against the following runtime releases:

  • Polkadot v1004000
  • Kusama v1004001
  • Westend v1017001

20.1.0 (2025-02-24)

Features

  • feat: add accounts/compare endpoint (#1597) (191e68a)
  • feat: add includeClaimedRewards query param in staking-info (#1593) (ed8b04a)

Chores

Compatibility

Tested against the following node releases:

  • Polkadot v1.17.1 (Polkadot stable2412-1)
  • Kusama v1.17.1 (Polkadot stable2412-1)
  • Westend v1.17.1 (Polkadot stable2412-1)

Tested against the following runtime releases:

  • Polkadot v1003004
  • Kusama v1004000
  • Westend v1017001

20.0.0 (2025-02-10)

Breaking Changes

  • fix: claimed in staking info endpoint (#1445) (e11955a)

    NOTE: This PR introduces breaking changes in the staking-info endpoint. More specifically:

    • The field claimed in the endpoint's response has changed structure and now we have a separate status for each era returned.
    • The status values are different for validator and nominator account.
    • The logic that calculates the era status was completely refactored.

      Please refer to the documents mentioned in the related PR for more details:

    • Staking PR - claimed field - Guide
    • STAKING_IMPLEMENTATION_DETAILS.md

Fix

  • fix: make scripts executable again in benchmark workflow (#1589) (22db863)
  • fix: benchmark-publish job (github action) (#1585) (d87bc07)

Chores

  • chore(deps-dev): bump @types/express-serve-static-core from 5.0.5 to 5.0.6 (#1588) (2ad52e0)
  • chore(deps): bump the pjs group with 5 updates (#1587) (274e844)
  • chore(deps): update polkadot-js deps to v15.5.1 (#1583) (fd7d7b7)
  • chore(deps): bump docker/build-push-action from 6.11.0 to 6.13.0 (#1580) (18f33f4)
  • chore(deps-dev): bump @types/express-serve-static-core from 5.0.4 to 5.0.5 (#1578) (398a98c)
  • chore(deps-dev): bump @types/express-serve-static-core from 5.0.3 to 5.0.4 (#1574) (194f3e7)
  • chore(deps): bump the pjs group with 5 updates (#1573) (fc95cd0)
  • chore(deps): bump docker/build-push-action from 6.10.0 to 6.11.0 (#1572) (51ab44b)

Compatibility

Tested against the following node releases:

  • Polkadot v1.17.1 (Polkadot stable2412-1)
  • Kusama v1.17.1 (Polkadot stable2412-1)
  • Westend v1.17.1 (Polkadot stable2412-1)

Tested against the following runtime releases:

  • Polkadot v1003004
  • Kusama v1003003
  • Westend v1017001

19.4.0 (2025-01-07)

Features

  • feat: coretime implementation (#1558) (3a92196)
  • feat: Add configuration parameter for request body size (#1565) (98f083d)

CI

  • ci: fix benchmark workflow, move docs to gh-pages (#1552) (226f656)

Docs

  • docs: update docs & benchmarks related docs (#1553) (bd9cad8)

Chores

  • chore: 2025 (#1570) (6a36d7c)
  • chore(deps): update polkadot-js deps (#1567) (fe2e697)
  • chore(deps): update non pjs deps (#1568) (7ddd854)
  • chore(yarn): bump yarn to 4.6.0 & small guide update (#1569) (c64312f)
  • chore(deps): bump Swatinem/rust-cache from 2.7.5 to 2.7.7 (#1564) (1e519ce)
  • chore(deps): bump the pjs group with 5 updates (#1561) (fe1e303)
  • chore(deps): bump nanoid from 3.3.7 to 3.3.8 in /docs (#1560) (cdaf3e3)
  • chore(deps): bump the pjs group with 5 updates (#1559) (a6eb6aa)
  • chore(deps): bump docker/build-push-action from 6.9.0 to 6.10.0 (#1557) (1d75954)

Compatibility

Tested against the following node releases:

  • Polkadot v1.17.0 (Polkadot stable2412)
  • Kusama v1.17.0 (Polkadot stable2412)
  • Westend v1.17.0 (Polkadot stable2412)

Tested against the following runtime releases:

  • Polkadot v1003004
  • Kusama v1003003
  • Westend v1017001

19.3.1 (2024-11-19)

Fixes

  • fix: ignore extrinsicIndex in multiBlockMigrations event (#1541) (45c4b1f)
  • fix(dev): fix tsconfig extends pathing for ts-node-dev (#1537) (cef2d10)
  • fix: return DispatchError in dry-run endpoint (#1533) (c43a26b)

CI

Chores

  • chore(deps): update non pjs deps (#1550) (156ad7a)
  • chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /docs (#1548) (c7b3f86)
  • chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#1549) (80d3b65)
  • chore(deps): update polkadot-js deps to v14.3.1 (#1547) (3ff1e48)
  • chore(deps): bump winston from 3.16.0 to 3.17.0 (#1545) (fb81a16)
  • chore(deps): bump the pjs group across 1 directory with 7 updates (#1546) (b59928c)
  • chore: update Dependabot versioning strategy (#1543) (158a1f8)
  • chore(deps): bump docker/build-push-action from 5 to 6 (#1540) (7465da)
  • chore(deps): bump winston from 3.15.0 to 3.16.0 (#1536) (4a58326)
  • chore(deps): bump lru-cache from 11.0.1 to 11.0.2 (#1535) (292cd38)
  • chore(deps-dev): bump @substrate/dev from 0.8.0 to 0.9.0 (#1528) (991821d)
  • chore(deps-dev): bump @types/express-serve-static-core from 5.0.0 to 5.0.1 (#1529) (67f2806)

Compatibility

Tested against the following node releases:

  • Polkadot v1.16.2 (Polkadot stable2409-2)
  • Kusama v1.16.2 (Polkadot stable2409-2)
  • Westend v1.16.2 (Polkadot stable2409-2)

Tested against the following runtime releases:

  • Polkadot v1003004
  • Kusama v1003003
  • Westend v1016002

19.3.0 (2024-10-23)

Features

  • feat: update dry run endpoint to use new runtime api call (#1519) (aeef4dc)
  • feat: improve performance with new version of PJS (#1520) (e0ad7c1)

Fix

  • fix: dependabot yaml & explicit pjs deps declaration (#1523) (95dfe4d)
  • fix: rococo deprecation changes (#1517) (7422fd2)
  • fix: filtering in assets endpoint & update guides (#1512) (b67bdcf)

    IMPORTANT NOTE: This release resolves the filtering issue in the assets endpoint.

Docs

Chores

  • chore(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7 in /docs (#1525) (fd3faae)
  • chore(deps-dev): bump @types/argparse from 2.0.16 to 2.0.17 (#1526) (df7065)
  • chore(deps): update polkadot-js deps & guides (#1522) (bb00db1)
  • chore(deps): update non pjs deps in root & docs folder (#1518) (1a3de02)
  • chore(deps): bump Swatinem/rust-cache from 2.7.3 to 2.7.5 (#1514) (22a143a)
  • chore(deps): update polkadot-js deps to v14.0.1 (#1515) (e35c191)

Compatibility

Tested against the following node releases:

  • Polkadot v1.16.1 (Polkadot stable2409-1)
  • Kusama v1.16.1 (Polkadot stable2409-1)
  • Westend v1.16.1 (Polkadot stable2409-1)

Tested against the following runtime releases:

  • Polkadot v1003003
  • Kusama v1003000
  • Westend v1016002

19.2.2 (2024-10-10)

Fix

  • fix: how to access router in getRoutes (#1510) (f0d662b)

    IMPORTANT NOTE: This patch release fixes an issue that was introduced in v19.2.1, caused by the upgrade to Express v5.0.0.

Compatibility

Tested against the following node releases:

  • Polkadot v1.15.2 (Polkadot stable2407-2)
  • Kusama v1.15.2 (Polkadot stable2407-2)
  • Westend v1.15.2 (Polkadot stable2407-2)

Tested against the following runtime releases:

  • Polkadot v1003000
  • Kusama v1003000
  • Westend v1016000

19.2.1 (2024-10-09)

Fix

  • fix: queryInfo call in fee-estimate endpoint (#1505) (68be48b)

Chore

  • chore(deps): update express to v5 & jest deprecations (#1502) (28e039e)
  • chore(deps): update substrate dev package & types (#1500) (cf2b58b)
  • chore(yarn): bump yarn to 4.5.0 (#1498) (6aac632)

Test

Compatibility

Tested against the following node releases:

  • Polkadot v1.15.2 (Polkadot stable2407-2)
  • Kusama v1.15.2 (Polkadot stable2407-2)
  • Westend v1.15.2 (Polkadot stable2407-2)

Tested against the following runtime releases:

  • Polkadot v1003000
  • Kusama v1003000
  • Westend v1016000

19.2.0 (2024-09-23)

Feat

  • feat: add loki functionality to transport logs (#1479) (85a4cca)
  • feat: Inject metrics registry in route controllers (#1477) (11c0173)

Fix

  • fix: Moves the LRUcache to Controller level (#1489) (890c06b)
  • fix: dependabot yaml (#1482) (2e6efc0)
  • fix: Improve performance of blocks service by dependency injection (#1483) (6eaca88)

Chore

  • chore(deps): update polkadot-js deps (#1496) (112994e)
  • chore(deps): update polkadot-js deps (#1495) (0115afc)
  • chore(deps): update non pjs deps & in docs (#1494) (968f522)
  • chore(deps): bump express from 4.19.2 to 4.20.0 (#1491) (a5b8a36)
  • chore: bump express from 4.19.2 to 4.21.0 in /docs (#1490) (02a3797)
  • chore: bump webpack from 5.93.0 to 5.94.0 in /docs (#1484) (6286442)
  • chore(deps): bump micromatch from 4.0.5 to 4.0.8 (#1481) (373ec9b)
  • chore: bump micromatch from 4.0.4 to 4.0.8 in /docs (#1480) (1ca7f9b)

Compatibility

Tested against the following node releases:

  • Polkadot v1.15.2 (Polkadot stable2407-2)
  • Kusama v1.15.2 (Polkadot stable2407-2)
  • Westend v1.15.2 (Polkadot stable2407-2)

Tested against the following runtime releases:

  • Polkadot v1003000
  • Kusama v1003000
  • Westend v1016000

19.1.0 (2024-08-15)

Feat

  • feat: add pallets/on-going-referenda endpoint (#1471) (386fbb3)
  • feat: Add route based metrics across API (#1465) (a4bbcb8)

Docs

Chore

  • chore(deps): update all non polkadot-js deps in root & docs folder (#1475) (c766c1d)
  • chore: bump axios from 1.6.7 to 1.7.4 in /docs (#1474) (82c61df)
  • chore(deps): update polkadot-js deps (#1473) (0317ec9)

Compatibility

Tested against the following node releases:

  • Polkadot v1.15.0 (Polkadot stable2407)
  • Kusama v1.15.0 (Polkadot stable2407)
  • Westend v1.15.0 (Polkadot stable2407)

Tested against the following runtime releases:

  • Polkadot v1002007
  • Kusama v1002006
  • Westend v1015000

19.0.2 (2024-06-27)

Fix

  • fix: add nominations in staking-info endpoint (#1448) (b048648)

Chore

Compatibility

Tested against:

  • Polkadot v11300
  • Kusama v11300
  • Westend v11300

19.0.1 (2024-05-24)

Fix

  • fix: duplicate payouts in staking-payouts endpoint (#1439) (b751ca4)
  • fix: add asset conversion pallet to Polkadot Asset Hub (#1437) (1c42f70)

Chore

  • chore(deps): update all non polkadot-js deps (#1442) (bb83189)
  • chore(deps): update polkadot-js deps & README (#1441) (7fb4844)

Compatibility

Tested against:

  • Polkadot v11200
  • Kusama v11200
  • Westend v11200

19.0.0 (2024-04-24)

Breaking Changes

  • fix!: add new staking storage items (#1432) (317edba) NOTE: This PR introduces breaking changes in the staking-payouts endpoint. More specifically:
    1. The payouts for eras after the v1.2.0 runtime upgrade are now retrieved and returned in the endpoint's response
    2. The payouts are retrieved by using the new storage items erasStakersPaged and erasStakersOverview
    3. The use of erasStakersClipped is deprecated but still supported. It will be completely removed in the future
  • fix!: staking payouts change claimed value (#1429) (abf4d9d) NOTE: This PR introduces breaking changes in the staking-payouts endpoint. More specifically:
    1. Payouts with claimed false are now retrieved and returned in the endpoint's response
    2. Payouts are now retrievable from any block height within the queried era

Feat

Fix

  • fix: add deprecation note for paras endpoints (#1428) (3ed7cbe)
  • fix: define query param depth in Staking Payouts for all chains (#1422) (c73c801)

Chore

  • chore(deps): update polkadot-js deps (#1434) (d2c05f2)
  • chore(deps): update polkadot-js deps (#1430) (80571f8)
  • chore(deps): bump tar from 6.1.15 to 6.2.1 (#1427) (395b39b)
  • chore: bump tar from 6.1.12 to 6.2.1 in /docs (#1426) (467ecdd)
  • chore: bump undici from 5.28.3 to 5.28.4 in /docs (#1425) (360b6ab)
  • chore(deps): bump express from 4.18.3 to 4.19.2 (#1420) (5951085)
  • chore(deps): bump express from 4.18.1 to 4.19.2 in /docs (#1419) (d4ceb44)
  • chore(deps): bump webpack-dev-middleware from 5.3.1 to 5.3.4 in /docs (#1418) (51a4a68)

Compatibility

Tested against:

  • Polkadot v11000
  • Kusama v11000
  • Westend v11000

18.0.0 (2024-03-21)

Breaking Changes

  • feat!: add in-transit XCM msgs in blocks endpoint (#1412) (6028086)
    • NOTE: This PR introduces breaking changes in the blocks endpoint when decoded XCM messages are enabled. More specifically:
      1. The structure of the Upward Messages response has changed
      2. paraId was renamed to originParaId

Fix

  • fix: add Kusama chain check in historic blocks (#1415) (cfbcddd)
  • fix: multilocation type in pallets/foreign-assets (#1408) (b7136d0)

Chore

  • fix(deps): update pjs deps, and fixing types (#1416) (b5eded8)
  • chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 in /docs (#1414) (e20f782)
  • chore(deps): update non-pjs deps (#1407) (96c9f11)

Compatibility

Tested against:

  • Polkadot v10800
  • Kusama v10800
  • Westend v10800

17.5.2 (2024-03-01)

Fix

  • fix: add more historic support for staking-payouts (#1397) (b1e84be)

Chore

  • chore(deps): bump ip from 1.1.8 to 1.1.9 in /docs (#1399) (b7480fb)
  • chore(deps): bump ip from 2.0.0 to 2.0.1 (#1398) (d751ba8)

Compatibility

Tested against:

  • Polkadot v10500
  • Kusama v10500
  • Westend v10500

17.5.1(2024-02-07)

Fix

Compatibility

Tested against:

  • Polkadot v10500
  • Kusama v10500
  • Westend v10500

17.5.0(2024-02-06)

Feat

  • feat: add at query param for staking-payouts (#1388) (a8b96ff)
  • feat: Add endpoint /accounts/{accountId}/proxy-info (#1387) (9addf07)

Fix

  • fix: add asset conversion pallet to Kusama Asset Hub (#1389) (3b447c6)
  • fix: added decodedXcmMsgs in 'blocks/head' endpoint (#1385) (90b89de)

Docs

  • docs(calc): Updated README for calc package (#1386) (cc80227)

Ci

Chore

  • chore(deps): update swagger-ui to resolve braintree dep (#1392) (3a42a38)
  • chore(yarn): update yarn to 4.1.0 (#1390) (02166de)

Compatibility

Tested against:

  • Polkadot v10500
  • Kusama v10500
  • Westend v10500

17.4.0 (2024-01-24)

Features

  • feat: add decoded XCM data in blocks endpoint (#1364) (555817c)

Fix

  • fix: generated a custom key for the cache in blocks endpoint (#1381) (17cbd2c)

Docs

  • docs: correct the /transaction/material docs for metadata (#1377) (ca163c7)

Chore

  • chore(deps): bump Swatinem/rust-cache from 2.7.1 to 2.7.2 (#1380) (8eca817)
  • chore(deps): bump Swatinem/rust-cache from 2.7.2 to 2.7.3 (#1382) (792d5bb)
  • chore(deps): bump actions/cache from 3 to 4 (#1383) (95987f5)

Compatibility

Tested against:

  • Polkadot v10500
  • Kusama v10500
  • Westend v10500

17.3.5 (2024-01-10)

Fix

  • fix: changed how claimed variable is set in staking-payouts (#1378) (0560806)

Perf

  • perf: add additional high load benchmarks for /blocks (#1372) (c3d9d01)

Docs

Chore

  • chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /docs (#1376) (b2aab7d)

Compatibility

Tested against:

  • Polkadot v10500
  • Kusama v10500
  • Westend v10500

17.3.4 (2024-01-05)

Fix

  • fix: ensure statemine, and statemint are still supported (#1374) (ca5079a)

Chore

  • chore(pjs): update polkadot-js, and fix staking ledger types (#1371) (ceea8eb)

Compatibility

Tested against:

  • Polkadot v10500
  • Kusama v10500
  • Westend v10500

17.3.3 (2023-12-21)

NOTE This release focuses on improving the performance of the tool resolving a regression where blocks were overwhelmed with transactions. The noFees query parameter focuses on removing fee info for the blocks if the user does not intend on needing fees. For more general cases where fees are necessary we have increased the performance of querying /blocks while also calculating fees. This was done with 2 cases: ensuring transactionPaidFee, and ExtrinsicSuccess or ExtrinsicFailure info is used to its fullest so we can avoid making any additional rpc calls, as well as ensuring the extrinsic's are called concurrently.

Perf

Fix

  • fix: add finalizedKey query param to /blocks/{blockId} (#1362) (ecd1518)
  • fix: added query to calc fees (#1366) (203a257) NOTE: this added the noFees={bool} query param to specify whether to retrieve or not the fees information of the block for the /blocks/* endpoint

Test

  • test(e2e): replace tests pointing to deprecated pallets (#1363) (2a38b2e)

Compatibility

Tested against:

  • Polkadot v10400
  • Kusama v10400
  • Westend v10400

17.3.2 (2023-11-26)

Fix

  • fix: add override types for asset hub conversation pallet (#1354) (21e016d)

Test

  • test: add test for frozen deprecation in runtime (#1353) (1a249a3)

CI

  • ci: fixing gitspiegel trigger workflow (bdb9271)
  • ci: switch e2e-tests endpoints (#1350) (644b475)
  • ci: adding gitspiegel-trigger workflow (#1348) (87f47a5)

Compatibility

Tested against:

  • Polkadot v10300
  • Kusama v10300
  • Westend v10300

17.3.1 (2023-10-30)

Fix

  • fix: bifrost type issue & small fixes in tests (#1345) (567170b)

Chore

  • chore(deps): bump actions/setup-node from 3 to 4 (#1343) (8fa49aa)
  • chore(deps): bump Swatinem/rust-cache from 2.7.0 to 2.7.1 (#1344) (47a47da)

Compatibility

Tested against:

  • Polkadot v10200
  • Kusama v10200
  • Westend v10200

17.3.0 (2023-10-23)

Features

The following endpoints are now available:

  • /blocks/:blockId/extrinsics-raw
  • /pallets/pool-assets/{assetId}/asset-info
  • /accounts/{accountId}/pool-asset-balances
  • /accounts/{accountId}/pool-asset-approvals

Chore

  • chore(yarn): bump yarn (#1341) (052aaa1)
  • chore(deps): update polkadot-js deps (#1339) (2978d1a)
  • chore: bump Swatinem/rust-cache from 2.6.2 to 2.7.0 (#1332) (2d1d82d)
  • chore: bump postcss from 8.4.14 to 8.4.31 in /docs (#1337) (39d016a)
  • chore(deps): bump @babel/traverse from 7.22.11 to 7.23.2 (#1340) (b59bb90)

Docs

  • docs: fix regex under the pattern keyword (#1335) (fbdca75)

Compatibility

Tested against:

  • Polkadot v10200
  • Kusama v10200
  • Westend v10200

17.2.0 (2023-09-11)

Features

Bug Fixes

CI

  • ci: add semantic title check, and cleanup actions (#1325) (7098710) Contribute by: benxiao
  • ci: use buildah image defined in gitlab group vars (#1327) (37344bf)

Chore

Test

  • test(fix-dev): update appropriate type packages (#1318) (d0b2959)
  • test(calc): add test for calc_payout (#1317) (b105cd3)

Docs

Compatibility

Tested against:

  • Polkadot v10000
  • Kusama v10000
  • Westend v10000

17.1.2 (2023-08-16)

Bug Fixes

  • fix: query info feature detection (#1305) (3c768e3) Contributed by xlc
  • fix: change error&error codes returned from /transaction/* related endpoints (#1312) (797c421)

Chores

  • chore(deps): bump semver from 6.3.0 to 6.3.1 (#1304) (62b97f3)
  • chore(yarn): bump yarn (#1303) (e4d42af)
  • chore(dev): switch from tsc-watch to ts-node-dev (#1307) (83d201a)
  • chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#1309) (573d083)
  • chore: bump Swatinem/rust-cache from 2.5.1 to 2.6.0 (#1310) (28e6078)
  • chore: bump Swatinem/rust-cache from 2.6.0 to 2.6.1 (#1313) (9fcda59)

Compatibility

Tested against:

  • Polkadot v10000
  • Kusama v10000
  • Westend v10000

17.1.1 (2023-07-05)

Bug Fixes

  • fix: rename wsurl endpoints to asset hub (#1301) (7a7e7de)
  • fix: /accounts/{accountId}/convert encoding for ecdsa (#1280) (86edf0b)
  • fix: rename statemint/statemine/westmint to asset-hub-polkadot/kusama/westend (#1296) (362e912)

Chores

  • chore: bump Swatinem/rust-cache from 2.5.0 to 2.5.1 (#1300) (45d8ecf)
  • chore: bump semver from 7.3.5 to 7.5.3 in /docs (#1298) (45eee30)
  • chore: bump Swatinem/rust-cache from 2.4.0 to 2.5.0 (#1297) (2579500)

Compatibility

Tested against:

  • Polkadot v9420
  • Kusama v9420
  • Westend v9420

17.1.0 (2023-06-13)

Features

  • feat: add prometheus metrics in dedicated port (#1232) (a256790)

Bug Fixes

CI

Docs

Compatibility

Tested against:

  • Polkadot v9420
  • Kusama v9420
  • Westend v9420

17.0.0 (2023-05-29)

Breaking Changes

  • fix(deps)!: update polkadot-js, and adjust for breaking changes (isFrozen compatibility fix) & kusama test removed (#1285) (110b01a) NOTE: In the endpoint /accounts/{accountId}/asset-balances, the field isFrozen will now give new outputs when it is no longer supported.

Chores

  • chore: bump Swatinem/rust-cache from 2.3.0 to 2.4.0 (#1284) (e5e5987)
  • chore: bump Swatinem/rust-cache from 2.2.1 to 2.3.0 (#1283) (fa9d52f)

Compatibility

Tested against:

  • Polkadot v9420
  • Kusama v9420
  • Westend v9420

16.0.0 (2023-05-08)

Breaking Changes

  • fix!: removes metadata v13 (#1272) (287d8e3) NOTE: This removes adjustMetadataV13 query parameter from /pallets/{palletId}/storage.
  • fix!: remove noMeta query param from /transaction/materials (#1275) (1d20501) NOTE: This removes noMeta from /transaction/materials. Please refer to the PR for more information.
  • fix!: minimum nodejs version (#1278) (05628da) NOTE: We want this library to be in sync with polkadot-js so it's important for us to also be in line with node-js versions. The version we specify is a minimum of v18.14.

Test

  • test: add acala & karura to e2e tests and some improvements (#1273) (44e2da4) Contributed by (xlc)

CI

Chores

Docs

Compatibility

Tested against:

  • Polkadot v9420
  • Kusama v9420
  • Westend v9420

15.0.0 (2023-04-19)

BREAKING CHANGES

  • fix!: update polkadot-js, and adjust for breaking changes (/accounts/{accountId}/balance-info) (#1255) (8964882) NOTE: The endpoint /accounts/{accountId}/balance-info has a new field called frozen, while miscFrozen, and feeFrozen will now give new outputs when they are no longer supported. Important: These changes are not yet reflected in a runtime release on polkadot, kusama, and westend, but are applied in sidecar to ensure support is there. Please look into the docs and or the above PR to see the changes in more depth.

Bug Fixes

  • fix: incorrect finalization when head blocks are cached and polled (#1265) (d498206) NOTE: This patches a bug related to /blocks/head.

Test

  • test(scripts): change historical e2e-tests endpoints to parity hosted nodes (#1261) (bfe2976)

Compatibility

Tested against:

  • Polkadot v9400
  • Kusama v9400
  • Westend v9400

14.5.3 (2023-04-11)

Bug Fixes

  • fix: validator staking endpoint with more info, and correct docs (#1258) (e0024e5) NOTE: This ensures that the pallets/staking/validators endpoint has the at key, and adds the validatorsToBeChilled key. Please read the PR for more info.

CI

Compatibility

Tested against:

  • Polkadot v9400
  • Kusama v9400
  • Westend v9400

14.5.2 (2023-04-04)

Bug Fixes

  • fix: invalid validator active set (#1256) (a13269b)
    • NOTE: This ensure that /pallets/staking/validators returns the correct amount of active validators in the set.

Compatibility

Tested against:

  • Polkadot v9400
  • Kusama v9400
  • Westend v9400

14.5.1 (2023-03-23)

Chores

Compatibility

Tested against:

  • Polkadot v9390
  • Kusama v9390
  • Westend v9390

14.5.0 (2023-03-15)

Features

CI

Test

  • test: fix benchmark url calls for pallets keys (#1240) (e4e4cac)

Chores

  • chore: bump Swatinem/rust-cache from 2.2.0 to 2.2.1 (#1241) (190c713)
  • chore(deps): update polkadot-js deps (#1247) (5c4449c)
  • chore: add inspect mode script (#1248) (4f40666)
  • chore: bump webpack from 5.68.0 to 5.76.0 in /docs (#1249) (783ef9b)

Compatibility

Tested against:

  • Polkadot v9390
  • Kusama v9390
  • Westend v9390

14.4.1 (2023-02-27)

CI

Chores

Compatibility

Tested against:

  • Polkadot v9380
  • Kusama v9380
  • Westend v9380

14.4.0 (2023-02-14)

Features

Perf

Tests

  • tests: fix e2e tests, add kusama westend, and remove ws check (#1223) (fb35b6b)

Chores

  • chore: add e2e-tests to single lint configuration (#1226) (f546abc)
  • chore(deps): update pjs, add small e2e-config (#1225) (80f4e2c)
  • chore(deps): update pjs deps (#1221) (10930b2)
  • chore(tech-debt): cleanup type assignment for consoleOverride (#1215) (520631c)
  • chore:(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#1217) (fe6ee23)
  • chore: bump http-cache-semantics from 4.1.0 to 4.1.1 in /docs (#1216) (2f2b513)

Compatibility

Tested against:

  • Polkadot v9370
  • Kusama v9370
  • Westend v9370

14.3.1 (2023-02-01)

Bug Fixes

  • fix: update errors endpoint to use latest error metadata for fetchErrorItem (#1205) (a13e8ca)
  • fix: rename nomination-pools to be to standard (#1203) (7d8ac10) NOTE: This renames /pallets/nominationPools/* to /pallets/nomination-pools/*.

Chores

  • chore(deps): updated to new version of confmgr (#1207) (a0f7d78)
  • chore(deps): update polkadot-js deps (#1206) (1cb3d22)
  • chore(deps): update polkadot-js api to most recent patch (#1211) (cffc235)

Compatibility

Tested against:

  • Polkadot v9370
  • Kusama v9370
  • Westend v9370

14.3.0 (2023-01-25)

Features

Chores

  • chore(deps): update polkadot-js deps (#1183) (e2d64ed)
  • chore(yarn-dev): update yarn to 3.3.1, and substrate/dev to 0.6.6 (#1185) (c7461c6)
  • chore(lint): adjust lint script (#1184) (325e80a)
  • chore: bump bumpalo from 3.6.0 to 3.12.0 in /calc (#1192) (93e7d36)
  • chore(deps): update polkadot-js deps (#1193) (ee64335)
  • chore(scripts): cleanup package.json scripts (#1200) (1585605)

Docs

Compatibility

Tested against:

  • Polkadot v9370
  • Kusama v9370
  • Westend v9370

14.2.3 (2023-01-10)

Bug Fixes

  • fix: replace rpc calls for fees and give support for weight v1 and v2 (1177) (9bdaf45) Note: This fixes a current bug where the includeFee queryParam was no longer working, and compatible with WeightsV2.

Chores

  • chore: bump json5 from 1.0.1 to 1.0.2 in /docs (1178) (94a2ed9)
  • chore: bump fast-json-patch from 3.1.0 to 3.1.1 in /docs (1175) (76629d3)
  • chore:(deps): bump json5 from 2.2.0 to 2.2.3 (1179) (d05f716)
  • chore(deps): update polkadot-js api, and util-crypto (1181) (7ccec7a)

Compatibility

Tested against:

  • Polkadot v9360
  • Kusama v9360
  • Westend v9360

14.2.2 (2022-12-27)

Bug Fixes

  • fix: use local version of wasm-pack (#1168) (f922247) Contributed by: xlc
  • fix: avoid use queryInfo rpc call (#1169) (907ba92) Contributed by: xlc
  • fix: set rpc to call for queryInfo in transaction/fee-estimate (#1170) (7334599)
  • fix: revert polkadot-js deps to 9.10.3 (#1173) (df6bc32)

Chores

  • chore(deps): update polkadot-js api, and api-contracts (#1171) (97b427c)

Test

  • test(e2e-tests): add e2e-tests for latest runtimes, and blocks (#1155) (095f57f)

Compatibility

Tested against:

  • Polkadot v9360
  • Kusama v9360
  • Westend v9360

14.2.1 (2022-12-14)

Bug Fixes

  • chore(deps): update polkadot-js deps (1163) (ca97b2c)
    • This fixes an issue where unapplies slashes will not appear in /pallets/staking/progress when necessary.

Docs

  • docs: update node stability for versions (1162) (e4305b6)

Compatibility

Tested against:

  • Polkadot v9330
  • Kusama v9330
  • Westend v9330

14.2.0 (2022-12-07)

Features

  • feat: add support for ink! contracts (1015) (f6499fa)

Bug Fixes

  • fix(calc): remove sp-arithmetic-legacy (1146) (92f02dc)

Chores

  • chore: bump loader-utils from 1.4.1 to 1.4.2 in /docs (1140) (71456c4)
  • chore: bump minimatch from 3.0.4 to 3.1.2 in /docs (1148) (442e045)
  • chore: bump tar from 6.1.0 to 6.1.12 in /docs (1149) (e319b88)
  • chore: bump jetli/wasm-pack-action from 0.3.0 to 0.4.0 (1156) (21894e6)
  • chore(release-calc): 0.3.1 (1157) (af85128)
  • chore: change main code owner integrations-tools-js-ts (1159) (bbbe90b)
  • chore(deps): update substrate/calc and polkadot-js deps (1158) (dc50726)

Docs

Tests

  • test: optimize test runner for e2e-tests and ci (1142) (f635d59)
  • test(e2e-tests): reorg the e2e-tests to be under a historic folder to prepare for current tests (1147) (6a4249e)

Compatibility

Tested against:

  • Polkadot v9330
  • Kusama v9330
  • Westend v9330

14.1.2 (2022-11-21)

Bug Fixes

  • fix: update polkadot-js api, and util-crypto (#1139) (9cf2597)
    • Note: This resolves an issue when querying a node with 0.9.32 ex: Struct: Cannot decode value <number> (typeof number), expected an input object, map or array. See the tracking issue here

CI

Compatibility

Tested against:

  • Polkadot v9320
  • Kusama v9320
  • Westend v9320

14.1.1 (2022-11-11)

Chores

  • chore: bump Swatinem/rust-cache from 2.0.1 to 2.1.0 (#1129) (4007a21)
  • chore: bump follow-redirects from 1.14.7 to 1.15.2 in /docs (#1118) (b5a991b)
  • chore:(deps): bump tmpl from 1.0.4 to 1.0.5 (#1122) (927c88f)
  • chore: bump Swatinem/rust-cache from 2.1.0 to 2.2.0 (#1131) (cf272f1)
  • chore: bump loader-utils from 1.4.0 to 1.4.1 in /docs (#1130) (8b5c4f7)
  • chore(deps): update polkadot-js deps (#1133) (9300c63)

CI

  • ci: break checks ci job into separate jobs (#1114) (e687e79)

Compatibility

Tested against:

  • Polkadot v9320
  • Kusama v9320
  • Westend v9320

14.1.0 (2022-11-03)

Features

  • feat: include balance-info support for statemine and statemint (#1126) (a171305)

Chores

  • chore(deps): bump @polkadot/api from 9.5.2 to 9.6.1 (#1098) (35ea356)
  • chore(deps): dedupe deps (#1100) (0307ee7a)
  • chore: bump terser from 5.10.0 to 5.15.1 in /docs (#1117) (799e1a5)
  • chore(deps): bump minimist from 1.2.5 to 1.2.7 (#1113) (27cd745)
  • chore(deps-dev): bump @types/express-serve-static-core (#1111) (77db77a)
  • chore(deps): bump winston from 3.8.1 to 3.8.2 (#1109) (1c8cfc2)
  • chore(deps): bump lru-cache from 7.13.1 to 7.14.0 (#1107) (5cbc2d5)
  • chore(deps-dev): bump @substrate/dev from 0.6.4 to 0.6.5 (#1106) (5a20fdf)
  • chore(deps): bump express and @types/express (#1105) (7187a15)
  • chore(deps): bump path-parse from 1.0.6 to 1.0.7 (#1120) (a0e69dc)
  • chore(deps): bump tar from 6.1.0 to 6.1.11 (#1119) (c6ca7b1)
  • chore(deps): update polkadot-js deps (#1124) (8cd3084)

CI

Bug Fixes

Compatibility

Tested against:

  • Polkadot v9300
  • Kusama v9300
  • Westend v9310

14.0.1 (2022-10-19)

Chores

CI

  • ci: bump Swatinem/rust-cache from 2.0.0 to 2.0.1 (#1084) (aa2c9cb)
  • ci: push metrics to prometheus-pushgateway (#1086) (9284bd1)

Docs

Tests

Compatibility

Tested against:

  • Polkadot v9290
  • Kusama v9290
  • Westend v9300

14.0.0 (2022-10-03)

⚠ BREAKING CHANGES ⚠

Features

  • feat: add /accounts/:accountId/convert endpoint (#1007) (e2d6fae)

Chores

Compatibility

Tested against:

  • Polkadot v9290
  • Kusama v9290
  • Westend v9290

13.1.0 (2022-09-19)

Features

  • feat: validateBooleanMiddleware for controllers (#1023) (fc74d4a)

Chores

CI

  • ci: use polkadot node managed by argo-cd (#1051) (d67d3a5)

Bug Fixes

  • fix: add TransactionPayment::TransactionPaidFee support (#1040) (108a93b)

Tests

  • test: fix deprecated lruCache.size deprecation (#1042) (4820342)

Docs

Compatibility

Tested against:

  • Polkadot v9290
  • Kusama v9290
  • Westend v9290

13.0.0 (2022-08-31)

⚠ BREAKING CHANGES ⚠

  • fix!: integrate @substrate/calc@0.3.0 for partial fees (#1017) (92e3e1d)
    • Note: This removes the query param feeByEvent for all /blocks/* endpoints. Fee's are correctly calculated by default and dont require a secondary way of retrieving the partialFee. For historical blocks, an error might be logged and emitted for chains that don't have TransactionPaymentApi::query_feeDetails in their runtime API. The error is emitted by polkadot-js regardless of catching it, but it does not affect fee calculation as also logged by a follow up warning. Please refer to the PR for more information.
  • feat!: add support for http provider using SAS_SUBSTRATE_URL (#1001) (b12daa8)
    • Note: This replaces the standard SAS_SUBSTRATE_WS_URL with SAS_SUBSTRATE_URL. It's important when updating to sidecar v13.0.0 to replace all instances of the env variable with the new one.

Bug Fixes

CI

Chores

  • chore(deps): update polkadot-js api and util-crypto (#1030) (f59b7db)
  • chore(deps): update @substrate/dev (#1028) (4443924)
  • chore(deps): update polkadot api, and util-crypto (#1024) (62b028e)
  • chore(deps): update api, and util-crypto (#1019) (d12b2f7)

Compatibility

Tested against:

  • Polkadot v9270
  • Kusama v9270
  • Westend v9280

12.4.3 (2022-08-09)

Bug Fixes

Chores

  • chore(deps): update polkadot-js api, and util-crypto (8164281)

Compatibility

Tested against:

  • Polkadot v9270
  • Kusama v9270
  • Westend v9270

12.4.2 (2022-08-03)

Bug Fixes

  • fix(logging): replace TransformableInfo with ITransformableInfo type (#994) (c058904)
  • fix(feeByEvent): use registry to convert hex to string (#997) (13ca62f)
  • fix(feeByEvent): handle tip for partialFee (#1003) (6e60aa9)

Chores

Compatibility

Tested against:

  • Polkadot v9250
  • Kusama v9250
  • Westend v9250

12.4.1 (2022-07-28)

Bug Fixes

  • fix(feeByEvent): fix tip inclusion for partialFee (#986) (91dda83)
  • fix(feeByEvent): sanitize fee for hex values (#990) (3f9a2c3)

Chores

  • chore(deps): update polkadot-js api, and util-crypto (#987) (f80666a)
  • chore(deps): update all non polkadot-js deps (#988) (0facebf)

Docs

  • docs(readme): remove mention of apps-config (#985) (e003e93)

Compatibility

Tested against:

  • Polkadot v9250
  • Kusama v9250
  • Westend v9250

12.4.0 (2022-07-13)

Features

  • feat: support for feeByEvent query param which will abstract the fees by events (#970) (92c155d)

Chores

  • chore(deps): update polkadot-js api, and util-crypto (#982) (c34bdde)

Tests

Compatibility

Tested against:

  • Polkadot v9250
  • Kusama v9250
  • Westend v9250

12.3.0 (2022-07-06)

Features

  • feat: Added the network and accountId to the response of validate endpoint (#926) (ef513cc) Contributed by Imod7

Bug Fixes

  • fix(pallets): deprecation warning adjustment (#973) (5514631)

Chores

  • chore(deps): update polkadot.js, and fix type compilation (#972) (67f5bad)
  • chore(deps): update polkadot-js api, and util-crypto (#976) (0dd3f63)
  • chore(dev): update @substrate/dev (#977) (2c3ce3e)

Compatibility

Tested against:

  • Polkadot v9240
  • Kusama v9240
  • Westend v9240

12.2.0 (2022-06-22)

Features

  • feat: add /blocks that enforces range query param (#954) (f8ab1ec)
    • This Feature provides a new endpoints called /blocks which allows you to query a range of blocks maxing out at 500. An example query would be /blocks?range=0-499.

Bug Fixes

  • fix: set minCalcFee runtime to 1058 for kusama (#966) (e3adacc)
  • fix(scripts): jest pass-fail bug (#944) (44482aa)

Chores

  • chore(deps): update polkadot-js api, and util-crypto (#967) (5dd8332)

CI

Docs

Compatibility

Tested against:

  • Polkadot v9240
  • Kusama v9240
  • Westend v9240

12.1.1 (2022-06-14)

Bug Fixes

Chore

Docs

Compatibility

Tested against:

  • Polkadot v9230
  • Kusama v9230
  • Westend v9230

12.1.0 (2022-06-07)

Features

  • feat: add query param to add a tip, partialFee, and priority field to each extrinsic for /node/transaction-pool (#931) (8241d34)

Bug Fixes

  • fix(polkadot-js): update api, and common deps (#934) (fd7021c)

Test

  • test: silence unnecessary logging for tests (#916) (9633480)

Compatibility

Tested against:

  • Polkadot v9230
  • Kusama v9230
  • Westend v9230

12.0.1 (2022-06-03)

Bug Fixes

  • fix(calc): rework calculating fees (#937) (3306466)
  • fix(imports): chains-config imports (#932) (f4f531a)
  • fix(imports): NodeTransactionPoolService response import (#929) (ad2fbaa)

Chore

  • chore(license): append the license to the top of each file (#927) (8906816)

Compatibility

Tested against:

  • Polkadot v9230
  • Kusama v9230
  • Westend v9230

12.0.0 (2022-05-24)

Breaking Changes

Notes: Substrate API Sidecar will no longer support pulling custom types from @polkadot/apps-config. For all of the current endpoint's in sidecar there should be no effect, but if there are any methods or types that can't be decorated from the metadata you will see warning's emitted from the logger. You may still apply your own custom types in sidecar, please refer to the custom substrate types portion of the readme, and if you would like more information please refer the to PR below. If you see any issues, or need additional guidance feel free to file an issue here.

  • fix(apps-config)!: remove apps-config from sidecar (#924) (e2e8b59)

Bug Fixes

11.4.1 (2022-05-18)

Upgrade Priority High (Required for users looking to update to 11.3.18, 11.3.19, or 11.4.0)

Bug Fixes

  • fix: revert apps-config to stable version (#921) (faf1595)

11.4.0 (2022-05-18)

Upgrade Priority low

Features

  • feat(balance-info): add query param to convert free balance to human readable format (#914) (f1e03d6)

Bug Fixes

  • fix(deps): update polkadot.js common, api, type interfaces (#918) (6baf526)
  • fix(dev): updates substrate-js-dev, and fixes latest eslint rules (#913)(12c5914)

Compatibility

Tested against:

  • Polkadot v9210
  • Kusama v9210
  • Westend v9210

11.3.19 (2022-05-10)

Upgrade Priority Low

Bug Fixes

Compatibility

Tested against:

  • Polkadot v9200
  • Kusama v9200
  • Westend v9200

11.3.18 (2022-05-03)

Upgrade Priority Medium (For users querying /runtime/metadata. Fixes decoding all constants for V14)

Bug Fixes

  • fix(deps): update pjs api (#906) (528420c)
  • fix: decode Bytes types for /runtime/metadata correctly (#907) (ce48c14)
  • fix: update substrate-js-dev, add update-pjs script (#904) (59aabc3)

Compatibility

Tested against:

  • Polkadot v9190
  • Kusama v9190
  • Westend v9190

11.3.17 (2022-04-21)

Upgrade Priority High (For users querying chains using v9190, and need partialFee information)

Bug Fixes

  • fix(bug): handle lengthToFee given runtime v9190 (#900) (992b458)
  • fix(deps): update pjs api (#897) (511fcf9)

Compatibility

Tested against:

  • Polkadot v9190
  • Kusama v9190
  • Westend v9190

11.3.16 (2022-04-13)

Upgrade Priority Low

Bug Fixes

  • fix(deps): update pjs common, api, wasm-crypto (#895) (c09a869)
  • fix: remove blockWeightsStore (#891) (ce701a0)
  • fix: update polkadot-js deps, adjust tests for getWeight (#890) (c348363)

Docs

  • docs(release): abstract the release process into its own file (#894) (eece110)
  • docs: updated README with trace endpoints & requirements note (#872) (d323857) Contributed by (Imod7)

Compatibility

Tested against:

  • Polkadot v9180
  • Kusama v9180
  • Westend v9180

11.3.15 (2022-03-30)

Upgrade Priority Low

Bug Fixes

  • fix: update polkadot-js deps and rxjs (#882) (9455397)
  • fix: update polkadot deps, util-crypto, api, wasm-crypto (#878) (db74ab4)
  • fix: add 9180 for metadata-consts (#879) (a2daf75)

Tests

Compatibility

Tested against:

  • Polkadot v9180
  • Kusama v9180
  • Westend v9180

11.3.14 (2022-03-16)

Upgrade Priority Low

Bug Fixes

  • fix: enable experimental trace endpoints for polkadot (868) (37c35ae)
  • fix: bump yarn (#869) (a904962)
  • fix: update polkadot api, apps-config, and util-crypto (#871) (ff0cef5)
  • fix: add runtime 9170, and 700 to metadata consts (#873) (dcce39e)

Compatibility

Tested against:

  • Polkadot v9170
  • Kusama v9170
  • Westend v9170

11.3.13 (2022-03-08)

Upgrade Priority Low

Bug Fixes

  • fix: update api to 7.11.1, and apps config 0.108.1 (#862) (222a258)
  • fix: update substrate/calc to 0.2.8 (#861) (3ade139)
  • fix: update api to 7.10.1, and apps config to 0.107.1 (#859) (7f29c46)

Calc

Compatibility

Tested against:

  • Polkadot v9170
  • Kusama v9170
  • Westend v9170

11.3.12 (2022-02-28)

Upgrade Priority Low (Fixes Docker release, and CI Build. This is a mirror release of 11.3.11)

CI

Compatibility

Tested against:

  • Polkadot v9160
  • Kusama v9160
  • Westend v9160

11.3.11 (2022-02-24)

Upgrade Priority Low

Bug Fixes

  • fix: update polkadot-js deps (#850) (db9eb36)
  • fix(devDep): update @substrate/dev (#838) (b710b23)
  • fix: Abstract error handling for addresses into AbstractService (#842) (88e176b)

Docs

  • docs: fix methodName -> method (#848) (10008c1)
  • docs: seperate the release process from updating polkadot-js deps (#837) (268de8d)
  • docs: transition to webpack 5, and bump deps (#839) (248642d)

CI

Compatibility

Tested against:

  • Polkadot v9160
  • Kusama v9160
  • Westend v9160

11.3.10 (2022-02-16)

Upgrade Priority High (For users who leverage /blocks, and require the call data for multiSig extrinsics)

Bug Fixes

  • fix: update polkadot-js deps, and bn.js (71edc3c) (#843)
  • fix: correctly serialize a multsig call, then parse WrapperKeepOpaque, and WrapperOpaque (#840) (60826c0)

CI

Compatibility

Tested against:

  • Polkadot v9160
  • Kusama v9160
  • Westend v9160

11.3.9 (2022-02-09)

Upgrade Priority Medium (With the oncoming runtime upgrade to v9160 it's wise to update)

Bug Fixes

  • fix: update block weight store for v9160 (#834) (0b0d3cc)
  • fix: update polkadot-js api, and apps-config (#836) (1be7938)

Compatibility

Tested against:

  • Polkadot v9160
  • Kusama v9160
  • Westend v9160

11.3.8 (2022-02-02)

Upgrade Priority High (For users that leverage /paras/auctions/current)

Bug Fixes

  • fix: update polkadot-js/api, and rxjs (#830) (90083d1)
  • fix: retrieving public endpoints with createWsEndpoints function (#829) (a019c8b) Contributed by: (Imod7)
  • fix: ?at bug and endingOffset conditionals (#824) (1774e90)
  • fix: update all polkadot-js deps (#828) (23d4cec)

Tests

  • fix(e2e-tests): update e2e tests for kusama auctions (#831) (7ad75aa)

Compatibility

Tested against:

  • Polkadot v9151
  • Kusama v9151
  • Westend v9150

11.3.7 (2022-01-26)

Upgrade Priority Low

Bug Fixes

  • fix: update polkadot-js api to 7.2.1 (#809) (3553fb8)
  • fix: error handling on account balances (#813) (05f97bb)
  • fix: add 9150, and 9151 to kusama blockWeightsStore (#819) (cda73a0)

Substrate/Calc

Security

  • fix: cleanup unused dependencies, and sec updates for node-forge (#817) (7a8ba0f)
  • fix(security): Update follow-redirects (#816) (ed50064)

Compatibility

Tested against:

  • Polkadot v9151
  • Kusama v9151
  • Westend v9150

11.3.6 (2022-01-12)

Upgrade Priority Low (Important for users using /paras/leases/current, /paras/{para-id}/lease-info)

Bug Fixes

  • fix: add leaseOffset to leasesCurrent end calc (#801) (4d83dcb) Contributed by: (sawvox)
  • fix: set min calc fee runtime version to 601 for statemint (#806) (3136399)
  • fix(tsc): explicitly define typescript version (#804) (c86d0c8)

Tests

  • fix: add v9140 to blocksWeightStore for parity chains (#798) (bbc7fbd)
  • fix: add statemint, and update with 9130 runtime tests (#807) (c6ec7be)

Docs

Chore

  • fix: Update license with new year (2022) (#810) (2c0bd28)

Compatibility

Tested against:

  • Polkadot v9130
  • Kusama v9130
  • Westend v9130

11.3.5 (2021-12-21)

Upgrade Priority Low

Bug Fixes

  • fix: bump polkadot-js deps (796) (c79d126)
  • fix: add blockWeightStore and fee calc support for common good parachains (1059c1a)

Compatibility

Tested against:

  • Polkadot v9130
  • Kusama v9130
  • Westend v9130

11.3.4 (2021-12-16)

Upgrade priority Medium (Security: Important for users who fork from sidecar, and use the docs directory)

Bug Fixes

Security

  • fix(security): address security advisory on swagger-ui dependency (790) (f6158af)

Compatibility

Tested against:

  • Polkadot v9130
  • Kusama v9130
  • Westend v9130

11.3.3 (2021-12-09)

Upgrade priority Low

Bug Fixes

Compatibility

Tested against:

  • Polkadot v9122
  • Kusama v9130
  • Westend v9130

11.3.2 (2021-12-01)

Upgrade priority

Bug Fixes

  • fix: update websocket addresses used for e2e tests (#780) (b7743f4)
  • fix: bump polkadot-js/api to 6.10.3 (#779) (a97ca77)
  • fix: update polkadot-js deps, and fix tests and types for assets (#777) (51eaa91)
  • fix: add v3101 to calamari blockWeightsStore (#776) (5bf57b4) Contributed by: grenade
  • fix: add v9130 to kusama blockWeightsStore (#775) (212de6d)
  • fix: add v3100 to calamari blockWeightsStore (#773) (85e18e1) Contributed by: grenade

Chores

Docs

  • docs: Update readme with node compatibility chart (#774) (5a0430b)

11.3.1 (2021-11-23)

Upgrade priority: Low

Bug Fixes

  • fix: support manta parachain fee calculations (#767) (3f68052) Contribute by grenade
  • chore(release-calc): v0.2.6 (#768) (cee6b8b)
  • fix: bump polkadot-js deps (#769) (3eda242)
  • fix: staking payouts historicApi, and add tests #762

Compatibility

Tested against:

  • Polkadot v9122
  • Kusama v9122
  • Westend v9122

11.3.0 (2021-11-16)

Upgrade priority: Low

Features

  • feat: transition /paras/* off of /experimental (#765) (d63fa15)
    • NOTE: The /experimental/paras/* endpoints are going to be left available too allow users time to transition. They are subject to removal in future releases.

Bug Fixes

  • fix: removed legacy pacakge-lock (#763) (a07dd7d)
  • fix: bump polkadot-js deps (#764) (ceb8cba)
  • fix: update PalletsStakingProgressService to use historicApi (#761) (9e53d2a)

Compatibility

Tested against:

  • Polkadot v9122
  • Kusama v9122
  • Westend v9122

11.2.0 (2021-11-11)

Upgrade Priority: Medium (For users using the /experimental/paras endpoint)

Features

  • feat: add query param metadata for /transaction/material (#746) (273cac2)
    • Note: In future releases the query parameter noMeta will be deprecated, and then removed.

Bug Fixes

  • fix: update blockWeightStore for polkadot v9122 (#755) (2e43b05)
  • fix: support calc fee for Karura Acala (#754) (42ae857) Contributed by xlc
  • fix(ParasService): adjust endpoint to use historicApi, fix endingOffset bug, and leasePeriodIndex (#735) (ce2ff0b)
    • Note: In the next weekly release we will migrate off of /experimental/paras to /paras
  • fix(e2e-tests): add kusama e2e tests for paras endpoint (#736) (54d0939)
  • fix(e2e-tests): update scripts to use --log-level=http (#758) (2e527d3)

Compatibility

Tested against:

  • Polkadot v9122
  • Kusama v9122
  • Westend v9122

11.1.2 (2021-11-08)

Upgrade priority: Low (Performance increase via polkadot-js, and calamari-chain fee support)

Bug Fixes

  • fix: bump polkadot-js dependencies, and @substrate/calc (#752) (f01003d)
  • fix: support calamari parachain fee calculations (#749)(1e2f4a5)
  • chore(release-calc): 0.2.4 (#751) (7f950c9)

Compatibility:

Tested against:

  • Polkadot v9122
  • Kusama v9122
  • Westend v9122

11.1.1 (2021-11-04)

Upgrade priority: Low

Bug Fixes

  • fix: bump polkadot deps (#745) (8e62030)
  • fix: confirm session module before block retrieval (#744) (e6613a0)
  • fix(e2e-tests): tests for staking-info endpoint (#742) (facc58c)
  • fix: Update blockstore for westend and kusama (#740) (4686634)
  • fix(StakingInfo): add historicApi to staking-info (#741) (bb679ed)

Optimizations

-fix: optimize pallets-storage (#739) (30d446)

Compatibility:

Tested against:

  • Polkadot v9110
  • Kusama v9122
  • Westend v9122

11.1.0 (2021-10-28)

Upgrade priority: Low

Features

  • feat: add /accounts/:address/validate endpoint (#726) (77bf8ed)

Bug fixes

  • fix: remove unnecessary awaits in pallets (#729) (f8f7cd5)
  • fix(security): ua-parser-js resolution for docs (#733) (8cfe930)
  • fix(AccountsAssets): historicApi for AccountsAssets, bug fixes, error handling, e2e-tests (#721) (583936d)
  • fix: bump polkadot-js deps, and substrate/dev (#734) (ac48534)
  • fix(e2e-tests): add e2e-tests for /accounts/{accoundId}/validate (#731) (2f115b3)

Compatibility:

Tested against:

  • Polkadot v9110
  • Kusama v9110
  • Westend v9112

11.0.0 (2021-10-20)

Upgrade priority: Medium (High for users leveraging /accounts/{accountId}/vesting-info)

⚠ BREAKING CHANGES ⚠

  • fix: Support multiple vesting schedules, vesting-info now returns an array. (#717) (8b9866d)

Bug Fixes

  • fix: add v9111 runtime to the blockstore for westend (#718) (a8835c2)
  • fix: bump polkadot js deps (#720) (5864465)
  • fix: update accounts balance-info and vesting-info to use historicApi (#709) (d527bbf)
  • fix: update apps-config to get the latest substrate types (#725) (64f331e)

Compatibility

This version of Sidecar has been tested against:

  • Polkadot v9110
  • Kusama v9110

10.0.0 (2021-10-13)

⚠ BREAKING CHANGES ⚠

  • fix: update 'PalletStorageService' to use V14 Metadata. See release notes for further info. (#710) (199ddcf)

Bug Fixes

  • fix: add 9111 runtime for westend. (#705) (a51f4af)
  • fix: bump polkadot deps (#707) (b7335b7)
  • fix(BlocksService): refactor api.derive for performance, and add historicApi to BlocksService (#699) (5861cb1)
  • fix: update blockstores with 9110 runtime (#704) (35b7132)
  • fix: cleanup pallets docs, and naming (#713) (cc600d6)

Tests

  • fix(tests): restructure mockApi tests to integrate with historical api. (#702) (2bf71ad)
  • fix(e2e-tests): add --log-level flag for e2e-tests (#703) (b9404ff)
  • fix(e2e-tests): fix adjust values in some e2e tests (#700) (f52fac6)

9.2.0 (2021-10-06)

Bug Fixes

  • fix: metadata V12 bug in /pallets/{palletId}/storage, and update with V13 (#695) (ac033ce)
  • fix: decorating metadata bug by now using an historicApi to attach historic registries when retrieving block weights for calculating fees (#692) (ed389a4)
  • fix: bump @polkadot/api to v6.1.2, and cleanup the resolutions (#691) (2707ef4)
  • fix: refactor e2e tests to use scriptsApi (#687) (db18f02)
  • fix: add blockweights for the shiden network (#688) (701ecef) Contributed by: hoonsubin
  • fix: bump @substrate/calc to v0.2.3 in order to update calculating fees for shiden block weights.

CI

  • ci(helm): increase liveness and rediness probe timeouts (#686) (1e744bf)
  • ci: script for npm dry-run release checks (#684) (9936df1)

Features

  • feat: add era field within extrinsics. Check the docs here and look under GenericExtrinsicEra. (#685) (4362347)

9.1.11 (2021-09-27)

Bug Fixes

9.1.10 (2021-09-23)

  • types Bump @polkadot-js deps for the latest substrate based types. (#677) (f14f2c2)
  • fix: resolution versioning (#665) (5b6d9b3)
  • fix: remove --create-namespace from Gitlab CI (#666) (86bb4d6)
  • fix(docs): correct Chain Integration Guide link (#668) (5405710)
  • fix(docs): Update versioning in docs (#671) (f4556ae)
  • fix: update readme for open api docs (#672)(770ba1d)
  • tests(e2e): Add spec, code, metadata endpoints to Kusama, Polkadot and Westend e2e tests (#674) (ddb8e45)
  • ci: Add a test to build the docs in CI. (#675) (fcf60ee)

9.1.9 (2021-09-13)

  • types Bump @polkadot-js/deps for the latest substrate based types. In particular, bump @polkadot/apps-config to the latest beta (^0.95.2-114) for compatibility reasons.
  • fix: README link to FRAME (660) (5c304a2)

9.1.8 (2021-09-07)

  • types Bump @polkadot-js/deps for the latest substrate based types.
  • fix: add accounts endpoints to the e2e tests (#646) (4d86a4a)
  • fix: workflows for wasm-pack (#657) (5723f108)
  • feat: add helm chart to the project (#654) (7a924ec3)

9.1.7 (2021-09-02)

Bug Fixes

  • Update /accounts/{accountId}/balance-info to correctly query historical blocks. (#653)(e9d7d7b)

9.1.6 (2021-08-30)

Bug Fixes

  • Bump @polkdot/api and @polkadot/apps-config to get the latest patch on proxy events, and receive latest chain specific types (#650)(0cfc6e9) Contribution by joelamouche
  • Improve the security of the docker container (#648)(bca36aa) Contribution by chevdor
  • Update dev and non polkadot deps (#647)(e6ebda7) Contribution by chevdor

9.1.5 (2021-08-23)

  • types Bump @polkadot-js/deps for the latest substrate based types.
  • Add an LRU cache to the /blocks/head, and /blocks/{blockId} endpoints. (#630)(9f7a29f)
  • Bump Yarn (#643)(12c8fd7)

Bug Fixes

  • Update the error message for parachain endpoints for when parachains are not supported (#642)(1f5f6b7)

9.1.4 (2021-08-19)

Bug Fixes

  • Update @polkadot/deps in order to fix decoding ParachainsInherent type.
  • Update @polkadot/deps, and fix metadata imports and tests (#637)(c143107)

CI

  • Remove the workaround of a buildah action bug (#619)(0562e07)

9.1.3 (2021-08-10)

  • fix: substrate/dev dep, update changelog (#632) (8e8153f)
  • fix: finalization for /blocks/head (#631) (8d0d538)
  • docs(ChainType): fix docs for chaintype return value (#626) (f20b033)

9.1.2 (2021-08-02)

Bug Fixes

  • Patch global package binary

9.1.1 (2021-08-02)

  • fix: add --version flag (#620) (9d8bb98)
  • fix: Added SORA network controller (#625) (f1511c4)
  • docs: alphabetical order for schema types (#623) (d4258e0)
  • Update @polkadot/api to get the latest substrate specific upgrades.
  • Update @polkadot/apps-config to get latest chain specific upgrades.

9.1.0 (2021-07-27)

  • feat: add /blocks/:number/header, and /blocks/head/header (615) (b7c2818)
  • feat: Basic support for H160 and H256 accounts. (596) (bddc2a2)
  • Update @polkadot/api to get the latest substrate specific upgrades.

Bug Fixes

9.0.0 (2021-07-20)

⚠ BREAKING CHANGES

To reflect changes in @polkadot/api@5.1.1 changes have been made to 2 of the endpoints specifically, and 1 implicitly (#616) (7942cd3).

  1. /pallets/{palletId}/storage The documentation field under each item in the items field will now be docs.

  2. /pallets/{palletId}/storage/{storageItemId} The documentation field under each item in the items field will now be docs.

  3. /runtime/metadata Similar to the above the metadata returned here just follows the most up to date metadata in polkadot-js so this route will implicitly have the same result as above.

Bug Fixes

  • fix: support for calculating fees for statemint, and statemine and their test nets. (613) (cea7c36)

8.0.4 (2021-07-14)

  • Update @polkadot/apps-config to get latest chain specific upgrades, and add resolutions in line with those from polkadot-js to avoid issues duplicate package versions (#607) (86f99c2)

8.0.3 (2021-07-13)

8.0.2 (2021-07-07)

Bug Fixes

  • Update @polkadot/apps-config to get latest chain specific upgrades.

8.0.1 (2021-07-06)

  • Update @polkadot/api to get the latest substrate specific upgrades.

  • Update @polkadot/apps-config to get latest chain specific upgrades.

8.0.0 (2021-07-01)

⚠ BREAKING CHANGES

  • Update /experimental/paras/auctions/current to correctly reflect the newly added AuctionStatus enum in polkadot. The phase field within the response will now return either startPeriod, endPeriod, or vrfDelay. (#593) (b4d8662)

Chore

  • Update the cached runtime versions for Polkadot and Kusama chain configs with the most recent versions. (#592) (4e42877).

7.0.5 (2021-06-27)

Bug Fixes

  • types Bump polkadot-js/api to decode electionProviderMultiPhase.

7.0.4 (2021-06-23)

Bug Fixes

  • Fix: fee calculation bug with ancient runtimes (#587)

Docs

  • Extracting winners from a closed auction guide (#577)

7.0.3 (2021-06-21)

Bug Fixes

  • Fix: update dependencies.

7.0.2 (2021-06-14)

Bug Fixes

  • Fix: update deps, reconfigure tests to reflect most recent polkadot-js changes (#584)

7.0.1 (2021-06-07)

Bug Fixes

  • Fix: Update deps, add westmint, and westmine (#575) (8c53b44)

  • Fix: Remove assets endpoint from chains config for relay chains. Add statemint, and statemine (#573) (0878a3c)

7.0.0 (2021-05-31)

⚠ BREAKING CHANGES

  • Changes the fields firstSlot and lastSlot to firstPeriod and lastPeriod within the FundInfo type to match the type generated from @polkadot/api. This effects the /experimental/paras/:paraId/crowdloans-info endpoint. (#570) (0c73631)

Bug Fixes

test Turns runtime tests into e2e tests. (#561) (0c73631)

Types

6.2.3 (2021-05-27)

NOTE: No changes or fixes to the API for this release. v6.2.3 is a replacement for v6.2.2 due to an error during the NPM release process when it comes to pulling the @substrate/api-sidecar package from NPM. Please see v6.2.2 changelog for the most recent updates.

6.2.2 (2021-05-27)

Features

Bug Fixes

  • docs Update release docs to use yarn dedupe, fix util-crypto packaging (#565) (87a828f)

6.2.1 (2021-05-24)

Bug Fixes

  • types Asset approval parameter change, bump polkadot-js/api (#559) (c523244)

  • test Integrate runtime-tests as a helper library (#549) (ea904f3)

  • docs Update controller config in the chain integration guide (#556) (3ae0c3f)

  • Reduce controller config boilerplate (#555) (59795b3)

6.2.0 (2021-05-16)

Features

  • State tracing for balance reconciliation (#383) (bf47b11)

Bug Fixes

  • types Bump polkadot-js/api to decode CompactSolution for 24 noms (#553) (c67ae2f)

6.1.0 (2021-05-11)

Features

  • Add Asset specific endpoints to /accounts and /pallets in order to query Asset based information from Statemint(polkadot) and Statemine(kusama) Parachains. (#533) (e83bc7e)

  • Add support for the KILT chain. Contribution by Dudleyneedham. (#542) (01ae7ac)

Bug Fixes

  • docs Improve release build & process instructions (#540) (ea5b40e)

6.0.0 (2021-05-03)

⚠ BREAKING CHANGES

  • Changes to serialization of ConsensusEngineId in block digest logs. Check spec diffs for details. (#535)

Types

  • Bump @polkadot/api for the latest parachain support. (#535) (7b96c21)

5.0.1 (2021-05-03)

Bug Fixes

  • docs: update release and publishing instructions (#529) (da33c7f)

  • fix: readme docs for node version 14 (#526) (409b611)

  • fix: remove dependabot and add upgrade-interactive plugin (#531) (f22cf3f)

  • deps: update @polkadot/api for the latest parachain support.

  • deps: Update @polkadot/apps-config to get latest chain specific upgrades.

  • deps: update @http/errors 1.8.0

5.0.0 (2021-04-26)

⚠ BREAKING CHANGES

  • Update the required node version as >= 14.0.0. This is to reflect the most recent updates with @polkadot/api (#521) (f50431c)

Bug Fixes

  • Update @polkadot/api to get the latest substrate specific upgrades.

  • Update @polkadot/apps-config to get latest chain specific upgrades.

4.0.8 (2021-04-21)

Experimental Feature

  • PLO endpoints Adds a set of endpoint's in order to query information regarding parachains, parathreads, and the parachain lease offering (PLO) system. These endpoints are marked as experimental because we may break their APIs without bumping this service's major version. Expect changes as polkadot's PLO system develops. (#509)(1fa4f94)

    • /experimental/paras/
    • /experimental/paras/crowdloans
    • /experimental/paras/:paraId/crowdloan-info
    • /experimental/paras/:paraId/lease-info
    • /experimental/paras/leases/current
    • /experimental/paras/auctions/current

      Please see the docs here for more information

4.0.7 (2021-04-19)

Bug Fixes

  • Update @polkadot/api to get the corrected Kusama/Polkadot runtime 30 session key definitions

  • Update @polkadot/apps-config to get latest chain specific upgrades

4.0.6 (2021-04-12)

Bug Fixes

  • types Update @polkadot/api to get latest substrate types for Parachains

  • types Update @polkadot/apps-config to get latest chain specific types

  • Add Dock Mainnet weight's to Metadata Consts (#511) (7b7451d)

CI

  • Update docker publish realease container to workaround the buildas gha bug (#506) (6294925)

4.0.5 (2021-04-05)

Bug Fixes

  • types Update @polkadot/api to get latest substrate types for MultiLocation

  • types Update @polkadot/apps-config to get latest chain specific types

  • Add a defensive check in createCalcFee to make sure weightToFee is not mapped over when it is undefined (#501) (8347b67)

4.0.4 (2021-03-29)

Bug Fixes

  • Removes a stray console log that made its way into the npm build of v4.0.3. Otherwise read v4.0.3 to see the most recent updates

4.0.3 (2021-03-29)

Optimizations

  • Refactor the ControllerConfigs, and BlocksService to store/cache relevant weight fee calculation data in order to optimize expandMetadata calls. The design will now allow chains to store their relevant weight data inside of metadata-consts but is not required. This fixes a regression seen in this commit. (#478) (610db42)

Bug Fixes

  • types Update @polkadot/api to get latest substrate ParaInfo type update (#496) (d566e31)
  • types Update @polkadot/apps-config to get latest chain specific types (#497) (6e58b51)
  • Reconfigure eraElectionStatus inside PalletsStakingProgressService to continue to work with parachains and older runtimes as it will be deprecated with the upcoming runtime v30 (#485) (415f030)

4.0.2 (2021-03-22)

Bug Fixes

  • types Update @polkadot/api to get latest substrate types for Extender{Header, SignedBlock}, and updated metadata
  • types Update @polkadot/apps-config to get latest chain specific types

Packaging

  • build Update all configuration packages to pull from a universal config @substrate/dev (#472)(68db176)

4.0.1 (2021-03-15)

Bug Fixes

  • types Update @polkadot/api to get latest substrate types for crowdloans (#474)(91f7dfa)
  • types Update @polkadot/apps-config to get latest substrate types for crowdloans (#473) (dfeec8c)

CI

  • Update release-container for tags list (#470) (8c9bbe9)

4.0.0 (2021-03-10)

⚠ BREAKING CHANGES

  • Enums in responses serialize with camelCase variants. Check spec diffs for details (#467)

Features

  • types camelCase enum serialization; Bump polkadot/api@v4 w. ESM (#467) (179642b)

Bug Fixes

  • types Update @polkadot/apps-config to get latest chain specific types (#463) (8357b33)

CI

3.0.5 (2021-03-01)

Bug Fixes

  • types: Update @polkadot/api to get latest substrate types (#449) (6120dca)
  • types: Update @polkadot/apps-config to get latest chain specific types (#451) (226bbc0)

3.0.4 (2021-02-23)

Bug Fixes

  • types: Update @polkadot/api to get latest fixes for polkadot 0.8.28 (#446) (67302ff)

3.0.3 (2021-02-15)

Bug Fixes

  • types: Update @polkadot/{apps-config, api} to get latest type definitions (#434) (e02818f)

3.0.2 (2021-02-09)

Bug Fixes

  • discriminate extrinsic_base_weight based on dispatch class (#414) (ff98c76)

3.0.1 (2021-02-02)

Bug Fixes

  • types: Bump polkadot-js/api to so we have type definitions for runtimes associated with polkadot 0.8.28 (#410) (6a1cd8b)

3.0.0 (2021-01-27)

⚠ BREAKING CHANGES

  • Update polkadot-js/api and account for chainProperties updates (#402)
  • Type definition specification with env vars and JSON files (#399)

Features

  • Type definition specification with env vars and JSON files (#399) (8c621b0)
  • Add finalized tag when querying blocks (#386) (b95f913)
  • Add route /blocks/{blockId}/extrinsics/{extrinsicIndex} (#400) (6507ce7)

Bug Fixes

  • Update polkadot-js/api and account for chainProperties updates (#402) (37acc7e)

CI

2.1.2 (2021-01-18)

Upgrade priority: High; this version is required for Polkadot 27, Kusama 2027, and Westend 47. This release ensures correct fee calculations and decoding of all blocks in the aforementioned runtimes.

Bug Fixes

  • fix: Use correct registry when creating calls; Remove usage of derive.chain.getBlock (#391) (f961cae)
  • fix: Revert stack limit increase and use updated polkadot-js/api instead (#394) (bcd6b40)
  • fix: Update fee calc to use system::constants::BlockWeights.per_class.normal.base_extrinsic (#388) (5ec24e6)

2.1.1 (2021-01-07)

Optimizations

  • refactor: Optimize accounts/{accountId}/staking-payouts blocking query complexity (#372) (b3cbf61)

Bug Fixes

  • Account for polkadot-js changes; Harden createCalcFee (#376) (fdee04c)

2.1.0 (2020-12-18)

Features

  • chainSpec based controller config; Types from apps-config (#351) (5936a1c)
  • Impl /pallets/{pallets}/storage; Impl index lookup for /pallets/{palletId}/storage/{, storageItemId} (#356) (a8387df)
  • Support Dock's multiplier & add Dock controller config (#365) (fb5df84)

Bug Fixes

  • env: typo SAS_EXPRESS_BIND_PORT -> SAS_EXPRESS_PORT in .env.docker (#364) (8cbafea)
  • Bump polkadot-js and adjust imports; Update specs (#344) (eeea29b)
  • Catch errors decoding opaque calls (#347) (d128e54)
  • Use http BadRequest (400) when balance-info not found (#355) (c2a4937)

2.0.0 (2020-11-19)

⚠ BREAKING CHANGES

  • Bump polkadot-js and document runtime/metadata API regression (#338)

Features

  • Bump polkadot-js and document runtime/metadata API regression (#338) (effc5eb). Regression diff; removes polkadot-js type aliases from metadata.

Bug Fixes

  • Bump polkadot-js and adjust imports; Update specs (#344) (eeea29b)

1.0.0 (2020-10-23)

⚠ BREAKING CHANGES

  • Remove all v0 routes to prepare for v1 release (410a2e9)

1.0.0-rc4 (2020-10-21)

Features

Bug Fixes

  • Find pallets with index 0 (#321) (ee0a048)
  • Use correct registry when parsing extrinsic call arguments (#323) (b4678e1)

1.0.0-rc3 (2020-09-29)

Features

  • types: Bump polkadot-js to v2.0.1 for new treasuary types (#310) (6d0daf7)

1.0.0-rc2 (2020-09-24)