8000 GitHub - tronscan/tronscan-node-client: Node Client for Tronscan
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tronscan/tronscan-node-client

Repository files navigation

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 @tronscanteam/apiclients

Use the HTTP Client

import {Client} from "@tronscanteam/apiclients";

const client = new Client();

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