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 acall
is an argument to a function, e.g.utility.batch
. The currentargs
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 thestaking.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 tomain
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.