Query transactions, blocks, and chain parameters, plus local encoding utilities.
Get transaction information based on a transaction ID.
Get the number of transactions in the block based on the block height.
> GetTransactionCountByBlockNum numberGet transaction info based on a transaction ID, generally used to check the result of a smart contract trigger.
Get the list of transaction information in the block based on the block height.
> GetTransactionInfoByBlockNum numberGet the block according to the block number; if you do not pass the parameter, get the latest block.
> GetBlock [BlockNum]Get a block based on block ID.
Get blocks based on their ID or block height. If no parameters are passed, get the header block.
> GetBlockByLatestNum nGet the latest n blocks, where 0 < n < 100.
> GetBlockByLimitNext startBlockId endBlockIdGet the block in the range [startBlockId, endBlockId).
Show all parameters that the blockchain committee can set.
> GetChainParametersGet the start time of the next maintenance period.
Get other peer information.
Broadcast the transaction, where the transaction is in hex-string format.
A useful encoding converter.
wallet> EncodingConverter
==============================
Encoding Converter (CLI)
==============================
1) TRON - EVM Address
2) Base64 Encode / Decode
3) Base58Check Encode / Decode
4) Public Key -> Address
5) Private Key -> Public Key & Address
0) Exit
> Get the private key through mnemonics.
wallet> GetPrivateKeyByMnemonic
Please enter 12 or 24 words (separated by spaces) [Attempt 1/3]:- account — account-level queries
- vote-reward — witness lists
- resources — resource unit prices