tron-api-client 0.0.1

Tron API client and CLI
Documentation

tron-api-client

crates.io documentation Build Status Build Status Appveyor

WORK IN PROGRESS (alpha)

A Rust library for Tron's HTTP APIs.

Install

See releases.

If you have Rust: cargo install tron_api_client.

Usage

$ tron help
tron 0.0.1
Kevin Holder <kevholderx@gmail.com>
Tron API client and CLI

USAGE:
    tron [OPTIONS] [SUBCOMMAND]

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

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

SUBCOMMANDS:
    get_account                   Get Account
    get_block_by_id               Get Block by Id
    get_block_by_num              Get Block by Number
    get_chain_parameters          Get Chain Parameters
    get_contract                  Get Contract
    get_node_info                 Get Node Info
    get_now_block                 Get Latest Block
    get_transaction_by_id         Get Transaction by Id
    get_transaction_info_by_id    Like get_transaction_by_id but more detailed
    help                          Prints this message or the help of the given subcommand(s)
    list_nodes                    List Nodes