September 28, 2026

@polkadot/api
A TypeScript library providing Promise and RxJS API wrappers for Polkadot and Substrate chains.
Product facts
- Type
- API, SDK & Library
- Category
- Development & Engineering › API Integration
- Pricing
- Open source
- License
- Apache-2.0
- Launched
- Sep 28, 2026
- Listed
- Sep 28, 2026
- Website
- github.com
Overview
## Introduction `@polkadot/api` is a TypeScript library that wraps all methods exposed by Polkadot and Substrate network clients and defines every type the node exposes. It interacts with Polkadot- and Substrate-based blockchains via RPC calls. ## Core Mechanism The library's API is dynamically generated from the information provided in the Substrate runtime metadata. This means that when the underlying chain's runtime changes, the API automatically adapts to new interfaces and types without requiring manual maintenance of extensive hardcoded definitions. ## Key Capabilities - **Promise API**: Supports issuing queries and submitting transactions using standard Promise patterns. - **RxJS API**: Supports subscribing to on-chain state changes and handling asynchronous operations via RxJS reactive streams. - **Type Definitions**: Includes built-in definitions for all types exposed by the node, enabling type hints and checks in TypeScript projects. - **RPC Calls**: Communicates with chain nodes under the hood using the JSON-RPC protocol. ## Use Cases Ideal for developers who need to interact with blockchains in the Polkadot and Substrate ecosystems, such as building DApp frontends, writing off-chain services, or developing automation scripts. Full documentation and usage examples (including how to issue queries and submit transactions) are available on the official documentation portal. When upgrading versions, it is recommended to review the CHANGELOG.
Key features
- Promise API: Provides a Promise-based interface for issuing queries and submitting transactions to Polkadot/Substrate chains.
- RxJS API: Provides an RxJS-based reactive interface for subscribing to and processing on-chain data streams.
- Dynamic Generation: The API is dynamically generated from Substrate runtime metadata, automatically adapting to interface changes on the chain.
- Complete Type Definitions: Defines all types exposed by the node, supporting TypeScript type checking.
- RPC Communication: Interacts with Polkadot and Substrate network clients via JSON-RPC calls.
Releases
Notify meQ&A
- Which blockchains does this library support?AI-generated
- It supports all Polkadot- and Substrate-based blockchain networks.
- Is the API statically defined?AI-generated
- No. The API is dynamically generated from the information provided in the Substrate runtime metadata.
- Where can I find usage tutorials?AI-generated
- You can find example guides on how to use the API to issue queries and submit transactions at the official documentation portal polkadot.js.org/docs/api/examples/promise/.
- What should I watch out for when upgrading versions?AI-generated
- It is recommended to review the CHANGELOG file in the repository when changing versions.
This product has no owner yet
It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.
Claim this productAlternatives

Tikway
Access multiple AI models with a single API Key. Supports OpenAI, Anthropic, and Gemini protocols.

FreeAPI.app
面向前端、移动端和后端开发者的免费开源 API Hub,用于学习和练习 API 交互。

free-api
A curated directory of free APIs for developers, updated monthly.

API For Docker
一个基于 Docker 的开源 API 平台,提供生活、出行、开发工具等多场景接口。

ServiceNow SDK
为 Now Platform 提供基于 TypeScript DSL 的现代开发工作流,支持以源码方式构建、版本管理和部署应用。

IIIF/api
Markdown source repository for IIIF API and model specification documents

Bungie.Net API
为 Destiny 系列游戏提供数据查询与交互的官方 REST API 规范

@vercel/sdk
类型安全的 TypeScript SDK,用于通过 Vercel REST API 控制整个 Vercel 平台。

Apache APISIX
A cloud-native API and AI gateway built on NGINX and etcd, offering dynamic routing, load balancing, and hot-reloadable plugins.

Windy Map Forecast API
基于 Leaflet 的库,帮助开发者将 Windy 的动态天气地图嵌入网站。
The product content on this page was translated by AI from the author's original.