30 lines
2.4 KiB
Markdown
30 lines
2.4 KiB
Markdown
[](https://polkadot.js.org)
|
|

|
|
[](https://github.com/Flet/semistandard)
|
|
[](https://www.npmjs.com/package/@polkadot/api)
|
|
[](https://travis-ci.org/polkadot-js/api)
|
|
[](https://codeclimate.com/github/polkadot-js/api/maintainability)
|
|
[](https://coveralls.io/github/polkadot-js/api?branch=master)
|
|
[](https://greenkeeper.io/)
|
|
[](https://david-dm.org/polkadot-js/api)
|
|
[](https://david-dm.org/polkadot-js/api#info=devDependencies)
|
|
|
|
# @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](https://polkadot.js.org/api/).
|
|
|
|
The API is split up into a number of internal packages -
|
|
|
|
- [@polkadot/api](packages/api/) The low-level base API library
|
|
- [@polkadot/api-rx](packages/api-rx/) A RxJs Observable wrapper around the API
|
|
- [@polkadot/api-format](packages/api-format/) Input and output formatters
|
|
- [@polkadot/api-provider](packages/api-provider/) Providers for connecting
|
|
|
|
Type definitions for interfaces as exposed by Polkadot & Substrate clients -
|
|
|
|
- [@polkadot/extrinsics](packages/type-extrinsics/) Base extrinsic definitions & codecs
|
|
- [@polkadot/jsonrpc](packages/type-jsonrpc/) Definitions for JSONRPC endpoints
|
|
- [@polkadot/params](packages/type-params/) Input/output parameter formatting
|
|
- [@polkadot/primitives](packages/type-primitives/) Primitive type definitions, builder & codecs
|
|
- [@polkadot/storage](packages/type-storage/) Definitions for storage entries
|