Skip to content

Node Client for Tronscan, support offline build and sign smart contract transaction

License

Notifications You must be signed in to change notification settings

zhwir/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 @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, support offline build and sign smart contract transaction

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%