Files
api/packages/api-jsonrpc
Jaco Greeff eb156a2378 Revert "Calculate hash on pass-through" (#71)
* Revert "[CI Skip]  0.8.15"

This reverts commit c1b03eaf2c.

* Revert "Calculate hash on pass-through (#70)"

This reverts commit 7074036064.

* Update package.json

* Update package.json

* Update package.json

* yarn
2018-04-20 16:22:01 +02:00
..
2017-11-28 18:03:48 +01:00
2018-01-04 08:46:12 +01:00
2018-04-20 13:28:56 +00:00
2017-12-16 11:46:16 +01:00

polkadotjs isc style npm travis maintainability coverage dependency devDependency

@polkadot/api-jsonrpc

A defintion of all the methods exposed in a general Polkadot client application. These are used not only to provide a comprehensive code-generated document of the available methods, but are also used in the API to auto-generate endpoints with the required type-checking.

For a list of currently exposed methods, see the method documentation.

Usage

Installation -

npm install --save @polkadot/api-jsonrpc

Adding methods

As methods are added, simply adding the name, inputs & output will prepare it for use.

  • Add the method to the correct file in src/rpc/ (Input/Output types as cross-referenced from the canonical implementation and match one-to-one)
  • Should a new type be required, add it to the type list, src/types.js (Required for flow type checking)