Files
api/packages/api-derive
Valentin Fernandez 939173df5c Add type augmentation for AssetHub (#6148)
* Add api-augmentation for assetHub

* Add lookup types

* lint

* Reorder packages

* Fix build errors

* Rebuild types with master
2025-05-19 12:18:11 -03:00
..
2025-05-16 12:12:27 +00:00

@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: