This release mainly upgrades RPC interfaces to support Solidity APIs through optional parameters, while simplifying the project structure.
New Features
- Add
getNowBlock2andgetRewardInfointerfaces to support Solidity APIs through optional parameters (#179) - Upgrade basic query interfaces to support Solidity APIs, including
getNowBlock,getBlockByNum,getBlock,listWitnesses,getBurnTRX,getBandwidthPrices,getEnergyPrices(#179) - Upgrade account and resource delegation related interfaces to support Solidity APIs, including
getAccount,getAccountById,getAvailableUnfreezeCount,getCanWithdrawUnfreezeAmount,getCanDelegatedMaxSize,getDelegatedResourceV2,getDelegatedResourceAccountIndexV2,getDelegatedResource,getDelegatedResourceAccountIndex(#179) - Upgrade transaction related interfaces to support Solidity APIs, including
getTransactionInfoByBlockNum,getTransactionInfoById,getTransactionById,getTransactionCountByBlockNum(#179) - Upgrade token related interfaces to support Solidity APIs, including
getAssetIssueList,getPaginatedAssetIssueList,getAssetIssueById,getAssetIssueByName,getAssetIssueListByName(#179) - Upgrade market related interfaces to support Solidity APIs, including
listExchanges,getExchangeById,getMarketOrderByAccount,getMarketOrderById,getMarketOrderListByPair,getMarketPairList,getMarketPriceByPair(#179) - Upgrade smart contract related interfaces to support Solidity APIs, including
getBrokerageInfo,estimateEnergy,triggerConstantContract(#179) - Deprecate old Solidity query interfaces, including
getAccountSolidity,getTransactionInfoByBlockNumSolidity,getNowBlockSolidity,getTransactionByIdSolidity,getRewardSolidity,getBandwidthPricesOnSolidity,getEnergyPricesOnSolidity(#179)
Improvements
- Move codes under subdirectory trident-java to parent directory to simplify the code structure (#176)
Documentation Updates
- Optimize README documentation: remove hardcoded version numbers and update document-related links (#179)