Node Client for the Tronscan.org API
- Node v9.8.0
> npm test
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,
});