@polkadot/monitor-rpc
TypeScript icon, indicating that this package has built-in type declarations

0.58.2 • Public • Published

@polkadot/monitor-rpc

A simple RPC monitor that provides output to both the console and via an HTTP interface.

Usage

yarn run:monitor --ws ws://localhost:9944 --port 8181

Then just doing a get on localhost:8181 should return something like

{"blockNumber":7030,"blockTimestamp":"2018-11-27T09:51:06.283Z","elapsed":1.828,"ok":true}

If you are installing it globally -

$ yarn global add @polkadot/monitor-rpc
$ polkadot-js-monitor ...

Readme

Keywords

none

Package Sidebar

Install

npm i @polkadot/monitor-rpc

Weekly Downloads

1,340

Version

0.58.2

License

Apache-2.0

Unpacked Size

19.5 kB

Total Files

18

Last publish

Collaborators

  • polkadotjs
  • jacogr