github paritytech/substrate-api-sidecar v0.8.0

latest releases: v19.3.0, v19.2.2, v19.2.1...
4 years ago

API Changes

  • Extrinsics within a block now contain a new field, newArgs, that contains the actual parameter names rather than an array of args. This is especially useful when a call is an argument to a function, e.g. utility.batch. The current args field is left unchanged to avoid breaking production deployments, but will be removed in the future. (#62)
  • The Block endpoint now includes the block author's account ID for chains with accounts. (#75)
  • The Staking endpoint now returns an integer, numSlashingSpans in addition to its other fields. This value needs to be passed into the staking.withdrawUnbonded call. (#85)

Bug Fixes

  • Kusama runtime 1062 had a bug in its Fixed128 implementation that was used to calculate fees. This introduces that bug for transactions in 1062. (#72)
  • The new Wasm fees work threw an error when fetching the genesis block, as it tried to query storage items from its parent. (#83)

Features

  • The main.ts now includes reference documentation for all endpoints. We are working on improvements, e.g. markdown docs, but for now look to main for docs on each endpoint. (#73)
  • For all endpoints that accept a block number at which to query, you can query either by integer or block hash. (#77)

Other

  • Dependencies bump.

Don't miss a new substrate-api-sidecar release

NewReleases is sending notifications on new releases.