
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@polkadot/jsonrpc
Advanced tools
A definition of all the methods exposed in a general Polkadot client application. These are used not only to provide a comprehensive code-generated document of the available methods, but are also used in the API to auto-generate endpoints with the required type-checking.
For a list of currently exposed methods, see the method documentation.
Installation -
yarn add @polkadot/jsonrpc
As methods are added, simply adding the name, inputs & output will prepare it for use.
1.6.1 Mar 12, 2020
api.rpc.state.queryStorage(...)
now fully decodes the Vec<StorageChangeSet>
and returns a decoded [Hash, Codec[]][]
when using this RPC.Changes:
StorageKey
now has an .args
property, decoded from meta where twox64_concat
or blake128_concat
are used on mapsapi.query.*.*.entries
type conversions to return exact types (not Option
in some cases)api.query.*.*.keys
to retrieve only the storage keys, similar to .entries
Error("...")
when found in responsesderive.eras*
interfaces for queries to new Substrate staking interfacesderive.account
to cater for new indices module storage (detected with fallbacks)api.query.*
[Type, Linkage<Next>]
FAQs
Method definitions for the Polkadot RPC layer
The npm package @polkadot/jsonrpc receives a total of 38 weekly downloads. As such, @polkadot/jsonrpc popularity was classified as not popular.
We found that @polkadot/jsonrpc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.