-
The dependency on @polkadot/keyring
has been removed - if you relied on the API to provide this, you would now need to manually add it
-
createType
allows for the creation of [u8; <length>]
types (opening the door for contract support)
-
api.derive.staking.info
now returns the rewardDestination
-
Fix for disconnection when default providers (non-specified) are used
-
Don't console.log type decoding errors and then throw, only re-throw with additional info
-
Support latest substrate 2.x v5 metadata
- Add
ApprovalFlag
, SetIndex
, VoterInfo
types for council as per substrate - Update
ContractInfo
to match substrate master
-
Add support for new inherent digests from substrate.
- Breaking change Because of the new
Seal
, the old/new Seals are not compatible. If you were using the old Seal
from the Digest
s, you would now use isSealV0
for the pre-substrate 1.0 version and the new isSeal
for the current version - Update
HeaderExtended
to retrieve author information from substrate 2.x (new PreRuntime
digests)
-
Cater for Vec
, Option
, Result
, tuples and fixed vectors for contracts ABIs
-
Additional examples for subscriptions using multi
-
Add off
method to Api
(Base, for both ApiPromise
& ApiRx
) to remove an event listener