0.6.0
-
feat(utils): support Android platform.
Note: In the previous version, a NoClassDefFound exception would be thrown when importing trident.jar on Android platform. This upgrade supports Android platform so that eliminates the exception message. -
feat(core): add more java-tron gRPC APIs, as below,
getTransactionListFromPending
: get the transaction list information from the pending poolgetPendingSize
: get the size of the queue in the pending poolgetTransactionFromPending
: get transaction details from the pending poolgetBlockById
: query block information by block hashgetNextMaintenanceTime
: get the next maintenance period timegetBurnTRX
: query the amount of TRX burned on the chaingetBlockBalance
: get all balance change operations of a block.createWitness
: create a witness addressupdateWitness
: modify the official website URL of the witnesswithdrawBalance
: withdraw the reward in the balanceproposalCreate
: create a proposalapproveProposal
: approve a proposaldeleteProposal
: delete a proposal
- feat(core): optimize code structure.
Note: the parameters type of interfacesfreezeBalance
andupdateAsset
were updated to keep compatible with java-tron gRPC APIs, so when using the latest version of Trident API, remember to modify the corresponding interface parameters type.