@polkadot/jsonrpc
Advanced tools
Changelog
1.5.1 Mar 06, 2020
StakingLedger: 'StakingLedgerTo223'
Votes: 'VotesTo230'
Contributed:
Observable.create
(Thanks to https://github.com/Himself65)Changes:
@polkadot/types/interfaces/runtime
& @mine/interfaces/runtime
will be valid.range([from, to]: [Hash, Hash?], ...args: any[]): [Hash, Codec][]
on all storage entries.raw(...args: any[]): Promise<Uint8Array & Codec>
to all RPC calls, returning the un-encoded resulttypesAlias: { <moduleName>: { <meta-type>: <alias-type> } }
in API construction optionsBTreeMap
to be initialized with a Record<string, any>
object (in addition to Map
)HashMap<KeyType, ValueType>
definitionsBool
will now correctly return isEmpty
on false/default valuesNetworkState
types as returned by the rpc.system.networkState()
call to currentregistry.createClass(<typeName>)
to allow for creating type classes. If you are using createClass
or ClassOf
in your code, it is recommended to swap to this instance.api.derive.staking
to handle lazy-payout retrievals@polkadot/{util, util-crypto, keyring}
to 1.6.1 & @polkadot/wasm
to 1.2.1