* Move triple backticks onto new line so it doesn't break the code snippet formatting
* Add newline between dependency imports and variable declarations
* Add link to relevant line of Github repo of eventemitter3 instead of the travis build directory
* Add full stop at end of sentence in line before `@example` in .ts files, since I noticed that was the only difference between code snippet in docs that was being rendered correctly and one that was not (if the docs were generated from it). Not sure if this actually makes any difference though, but it doesn't hurt to try. i.e. change `[[unsubscribe]]` to `[[unsubscribe]].`
* Add missing code syntax for `new Ws(defaults.WS_URL)`
* Add missing `*__example__*:`
* Add missing semi-colons throughout code
* Fix typos and some grammar
* Move import of external libraries i.e. `const BN = require('bn.js');` or `const crypto = require('crypto');` before `@polkadot` ones in code
* Change from `e` to `error` in catch blocks for readable documentation
Polkadot Javascript API
You can query a node and interact with the Polkadot network using Javascript. This guide describes the Polkadot Javascript API.
{% include "SUMMARY.md" %}
The Polkadot Project
You can read more about the Polkadot Network at https://polkadot.network/
Github repositories
You can find the Polkadot repositories at:
- https://github.com/polkadot-js
- https://github.com/paritytech/polkadot
- https://github.com/paritytech/substrate
This documentation is generated from https://github.com/polkadot-js/api
Contributing
Contribution to the Polkadot JS API are more than welcome. You can report issues and log feature requests.