
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
@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 docs/ folder.
FAQs
Promise and RxJS wrappers around the Polkadot JS RPC
The npm package @polkadot/api receives a total of 117,051 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
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.