@tronscan/client

Tronscan API Client

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@tronscan/client
0.2.812 years ago6 years agoMinified + gzip package size for @tronscan/client in KB

Readme

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,
});