Bump dev, update docs (#36)

This commit is contained in:
Jaco Greeff
2017-12-07 22:12:34 +01:00
committed by GitHub
parent 365a6ed87a
commit eb9283c553
3 changed files with 6 additions and 8 deletions
+3 -5
View File
@@ -3,7 +3,9 @@
# @polkadot/api
Warning - currently this does not actually do all that much, it is an attempt to put into code some thoughts about how to maintain the endpoints. This library provides a clean wrapper around all the methods exposed by a Polkadot network client. Methods are auto-generated for the [JsonRPC interface definitions](https://github.com/polkadot-js/api/packages/api-jsonrpc).
Warning - currently this does not actually do all that much, it is an attempt to put into code some thoughts about how to maintain the endpoints. This library provides a clean wrapper around all the methods exposed by a Polkadot network client.
Methods are auto-generated for the [JsonRPC interface definitions](../api-jsonrpc#readme), containing a full list of all sections and the methods cotained within.
## Usage
@@ -31,7 +33,3 @@ api.chain
.then((header) => console.log(header))
.catch((error) => console.error(error));
```
## Available methods
For a list of currently exposed methods, see the [@polkadot/api-jsonrpc](https://github.com/polkadot-js/api/packages/api-jsonrpc#readme) repository.