Skip to content

0.6.0

Compare
Choose a tag to compare
@eodiandie eodiandie released this 14 Jun 06:54
· 35 commits to main since this release
7dbffc0
  1. 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.

  2. feat(core): add more java-tron gRPC APIs, as below,

  • getTransactionListFromPending: get the transaction list information from the pending pool
  • getPendingSize: get the size of the queue in the pending pool
  • getTransactionFromPending: get transaction details from the pending pool
  • getBlockById: query block information by block hash
  • getNextMaintenanceTime: get the next maintenance period time
  • getBurnTRX: query the amount of TRX burned on the chain
  • getBlockBalance: get all balance change operations of a block.
  • createWitness: create a witness address
  • updateWitness: modify the official website URL of the witness
  • withdrawBalance: withdraw the reward in the balance
  • proposalCreate: create a proposal
  • approveProposal: approve a proposal
  • deleteProposal: delete a proposal
  1. feat(core): optimize code structure.
    Note: the parameters type of interfaces freezeBalance and updateAsset 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.