d9b05cf9f2bec327da9ac1365cd03f22efdf61e4
* WIP * Some output, still borken... * Events decoded correctly * WIP, metadata decoded * String cleanups * Expand with generics * Add getters * Start docs... * Additional docs * Extra whitespace on Compact * CodecLength FIXME * Remove FIXME (impl. takes care) * Swap in LengthCompact encoding * Extend docs, play with auto-type for struct * Trim strings, add Type for type-specific String * More string-type hackery * Don't allow Type re-encoding * Remove struct experiment * Cleanup Option * Remove extra type defs from CodecStruct usage * Expand Storage function with map (and type returns) * Description around BaseCodec * Cleanup linting, add Metadata test * Move to api-codec * Extract uniq types * Uniq updates * Unwrap, ungeneric
@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-rx A RxJs Observable wrapper around the API
- @polkadot/api-format Input and output formatters
- @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/params Input/output parameter formatting
- @polkadot/primitives Primitive type definitions, builder & codecs
- @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%