0.0.1 • Published 2 years ago

@welups/node-client v0.0.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
2 years ago

How to use

Requirements

  • Node v9.8.0

Running tests

> npm test

Usage

Install the package

> npm install @welups/node-client

Use the HTTP Client

import {Client} from '@welups/node-client';

const client = new Client('http://full-node-api-endpoint');

let recentBlocks = await client.getBlocks({
  sort: '-number',
  limit: 10,
});