JSPM

@polkadot/jsonrpc

0.1.7
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 380
  • Score
    100M100P100Q94663F
  • License ISC

Method definitions for the Polkador RPC layer

Package Exports

  • @polkadot/jsonrpc
  • @polkadot/jsonrpc/lib/util

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@polkadot/jsonrpc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Polkadot JavaScript JsonRpc method definitions

Build Status Coverage Status Dependency Status devDependency Status

Introduction

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.

Usage

Installation -

npm install --save @polkadot/jsonrpc

Available methods

For a list of currently exposed methods, see the docs/ folder.

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)