Class | Description |
---|---|
JsonAuthor | |
JsonChain | |
JsonRpc | |
JsonState | |
JsonSystem |
A definition 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.
Installation -
yarn add @polkadot/jsonrpc
As methods are added, simply adding the name, inputs & output will prepare it for use.