
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@polkadot/api
Advanced tools
Warning - currently this does not actually do all that much, it is an attempt to put into code some thoughts about how to maintain the endpoints.
Installation -
npm install --save @polkadot/api
Initialisation -
import Api from '@polkadot/api';
const provider = new Api.HttpProvider('http://127.0.0.1:9933');
const api = new Api(provider);
Making calls -
api.chain
.getHeader('0x1234567890')
.then((header) => console.log(header))
.catch((error) => console.error(error));
For a list of currently exposed methods, see the @polkadot/jsonrpc repository.
FAQs
Promise and RxJS wrappers around the Polkadot JS RPC
The npm package @polkadot/api receives a total of 101,854 weekly downloads. As such, @polkadot/api popularity was classified as popular.
We found that @polkadot/api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.