This release includes new RPC interface support, feature enhancements, bug fixes and gradle improvement.
New Features
-
Add contract related APIs, includes deployContract, getContractInfo, clearContractABI, updateEnergyLimit, updateSetting, triggerContract, triggerConstantContract, estimateEnergy (#147, #152, #156)
-
Add market related APIs, includes getMarketOrderByAccount, getMarketOrderById, getMarketOrderListByPair, getMarketPairList, getMarketPriceByPair, marketCancelOrder, marketSellAsset (#147)
-
Add exchange related APIs, includes exchangeCreate, exchangeInject, exchangeWithdraw, exchangeTransaction,getPaginatedExchangeList (#147)
-
Add basic data query APIs of BlockChain, includes getBlock, getBlockByIdOrNum, getPaginatedProposalList, getTransactionCountByBlockNum, getTransactionInfoByBlockNumSolidity (#147, #167)
-
Enable building transactions locally without requiring gRPC requests. (#158)
-
Deprecate the following APIs: constantCall, constantCallV2, triggerCall, triggerCallV2, estimateEnergyV2 (#156, #157)
-
Update proto file to keep updated with Java-tron 4.7.7 (#147)
Bug Fixes
-
Fixed an issue causing addresses to incorrectly reduce by 41 multiple times (#149)
-
Resolve invalid timeout settings in the ApiWrapper constructor (#165)
-
Remove restriction requiring ProposalApprove number to be greater than 0 in getProposalById API (#147)
-
Support specified timestamp instead default in getCanWithdrawUnfreezeAmount API (#147)
-
Discard the limit that TransactionInfo’s num must be > 0 in getTransactionInfoByBlockNum API (#167)
Improvements
-
Publish trident package to Maven repository for direct usage
-
Merge abi/utils/core jars into a single jar during the build process (#148)
-
Bump gradle wrapper from 5.6.4 to 7.6 (#148)
-
Optimize code style based on java-tron's CheckStyle standards and integrate CheckStyle checks (#146, #151, #166)
-
Reduce network interaction costs by using getBlock when building transactions (#147)
-
Enhance ABI compatibility support for contract deployment (#154)
Documentation Updates
Dependency Updates
-
Bump io.grpc:grpc-* from 1.58.1 to 1.60.0 (#147)
-
Bump com.google.guava:guava from 29.0-jre to 33.0.0-jre (#147)
-
Bump org.bouncycastle:bcprov-jdk15on:1.69 to org.bouncycastle:bcprov-jdk18on:1.78.1 (#147)
-
Bump io.vertx:vertx-core from 3.9.16 to 4.5.10 (#147)
-
Bump io.netty:netty-all from 4.1.100.Final to 4.1.118.Final (#166)