@polkadot/extrinsics
Advanced tools
Changelog
0.81.1 Jun 14, 2019
Changes:
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
ApprovalFlag
, SetIndex
, VoterInfo
types for council as per substrateContractInfo
to match substrate masterAdd support for new inherent digests from substrate.
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 versionHeaderExtended
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