782bb8063cf31a6c7b3cddedd7ab07c7d64f65bf
* Pull in observable api... * Progress changing stuff... * votingBalance * Update resul types * Expose toBn on Moment * Rework... WIP * ... More type cleanups * Linting passes * BN helpers for UInt * Update api-observable * Add api-observable package.json * Allow Struct/Tuple to create from hex string * Future-proof Length with bitLength (u64/u128 compant encoding PR out) * Make Compact number encoding shareable * Split Api into functional sections * Cleanup types * Additional per-use comments * Remove params/primitives from README * api-format -> api-codec * Whitespace.
@polkadot/api
This library provides a clean wrapper around all the methods exposed by a Polkadot/Subtrate network client. For complete documentation around the classes, interfaces and their use, visit the documentation portal.
The API is split up into a number of internal packages -
- @polkadot/api The low-level base API library
- @polkadot/api-codec Codecs for all Polkadot primitives
- @polkadot/api-rx A RxJs Observable wrapper around the API
- @polkadot/api-provider Providers for connecting
Type definitions for interfaces as exposed by Polkadot & Substrate clients -
- @polkadot/extrinsics Base extrinsic definitions & codecs
- @polkadot/jsonrpc Definitions for JSONRPC endpoints
- @polkadot/storage Definitions for storage entries
Description
Fork of polkadot-js/api. Held for the @polkadot/types side of Quantus support — ExtrinsicSignature is MultiSignature (64/65 bytes) upstream, where Quantus needs a 5261/7219-byte DilithiumSignatureScheme. May turn out to need no patch at all if registry type overrides suffice; see quantus/api#1.
142 MiB
Languages
TypeScript
99.9%