npm.io
0.2.81 • Published 4 years ago

@tronscan/client

Licence
GPL-3.0
Version
0.2.81
Deps
15
Size
1.4 MB
Vulns
27
Weekly
0
Stars
47

Tronscan Client

Node Client for the Tronscan.org API

How to Use

How to use

Requirements

  • Node v9.8.0

Running tests

> npm test

Usage

Install the package

> npm install @tronscan/client

Use the HTTP Client

import {Client} from "@tronscan/client";

const client = new Client();

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

Keywords