Need private packages and team management tools?Check out npm Teams »

@sonicxchain/sonicxscan-cli

0.2.16 • Public • Published

SonicXscan Client

Node Client for the SonicXscan.com API

How to Use

How to use

Requirements

  • Node v9.8.0

Running tests

> npm test

Usage

Install the package

> npm install @sonicxchain/sonicxscan-cli

Use the HTTP Client

import {Client} from "@sonicxchain/sonicxscan-cli";
 
const client = new Client();
 
let recentBlocks = await client.getBlocks({
  sort: '-number',
  limit: 10,
});

Keywords

Install

npm i @sonicxchain/sonicxscan-cli

DownloadsWeekly Downloads

0

Version

0.2.16

License

GPL-3.0

Unpacked Size

679 kB

Total Files

37

Last publish

Collaborators

  • avatar