You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@polkadot/api-derive

Package Overview
Dependencies
Maintainers
2
Versions
2817
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/api-derive

Common functions used across Polkadot, derived from RPC calls and storage queries.

16.4.3
latest
Source
npmnpm
Version published
Weekly downloads
129K
-3.73%
Maintainers
2
Weekly downloads
 
Created
Source

@polkadot/api-derive

Collection of high-level utility functions built on top of the @polkadot/api library. Designed to simplify the process of querying complex on-chain data by combining multiple RPC calls, storage queries, and runtime logic into a single, callable function.

Instead of manually fetching and processing blockchain data, developers can use api.derive methods to retrieve information.

Available Derive Namespaces

The derive functions are categorized into namespaces based on different common Substrate modules. Accesible by calling api.derive.NAMESPACE (e.g. api.derive.balances). The available modules are as follows:

  • accounts
  • alliance
  • bagsList
  • balances
  • bounties
  • chain
  • contracts
  • council
  • crowdloan
  • democracy
  • elections
  • imOnline
  • membership
  • parachains
  • session
  • society
  • staking
  • technicalCommittee
  • treasury
  • tx

FAQs

Package last updated on 29 Jul 2025

Did you know?

Socket

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.

Install

Related posts