tron-api-client

crates.io documentation Build Status Build Status Appveyor

WORK IN PROGRESS

A Rust library for Tron's HTTP APIs.

Install

See releases.

If you have Rust: cargo install tron-api-client.

Usage

```bash tron 0.0.4 Tron API client and CLI

USAGE: tron [OPTIONS]

FLAGS: -h, --help Prints help information -V, --version Prints version information

OPTIONS: --network Specify tron network (uses trongrid.io) [env: TRON_NETWORK=shasta] [default: main] [possible values: main, shasta]

SUBCOMMANDS: getaccount Get Account getaccountnet Get Account Bandwidth getblockbyid Get Block by Id getblockbylatestnum Get Latest Blocks getblockbylimitnext Get Range of Blocks getblockbynum Get Block by Number getchainparameters Get Chain Parameters getcontract Get Contract getnodeinfo Get Node Info getnowblock Get Latest Block gettransactionbyid Get Transaction by Id gettransactioninfobyid Like gettransactionbyid but more detailed help Prints this message or the help of the given subcommand(s) listnodes List Nodes listwitnesses List Witnesses ```