Atomicwallet / tronscan-node-client

Node Client for Tronscan

Home Page:https://api.tronscan.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Node Client for Tronscan

https://api.tronscan.org

License:GNU Lesser General Public License v3.0


Languages

Language:JavaScript 100.0%