Releases: tronprotocol/tronweb
Releases · tronprotocol/tronweb
v6.0.0-beta.3
- Support recovering transaction signer address by trx.ecRecover.
- Support both base58 format and hex format address field in keys of updateAccountPermissions params.
- Support type for contract instance.
v6.0.0-beta.2
- Bump ethers from 6.8.0 to 6.11.1
- Bump ethereum-cryptography from 2.1.2 to 2.1.3
- Bump axios from 1.6.2 to 1.6.8
v5.3.2
- Add custom block header argument for building transactions locally in
transactionBuilder
lib - Support TIP586 by
trx.getBandwidthPrices
andtrx.getEnergyPrices
- Support recover transaction signer address by
trx.ecRecover
- Support multi-dimension address array such as
address[][]
for ABI params encoding intriggerSmartContract
andcreateSmartContract
#433 - Fix error when
triggerSmartContract
with error address due to the undefined callback #429 - Bump axios from 0.26.1 to 1.6.2 #445
v6.0.0-beta.1
- Support TIP586 with
trx.getBandwidthPrices
andtrx.getEnergyPrices
. - Support custom block header info when creating transaction.
v6.0.0-beta.0
- Add full type definition for Typescript.
- Change Default exports to Named exports.
- Change TronWeb.createRandom(options) to TronWeb.createRandom(password, path, wordlist).
- Change TronWeb.fromMnemonic(mnemonic, path, wordlist) to TronWeb.fromMnemonic(mnemonic, path, password, wordlist).
- All methods in Trx and TransactionBuilder perform an strict check for type and position of parameters.
- All methods in TronWeb will throw an Error instance instead of a string. e.message should be used to access error information.
- Update TronWeb#event API with new backend service(#422).
- Remove Contract#watch() method.
- Support multi-dimension address array parameters in TransactionBuilder#triggerSmartContract()(#433).
v5.3.1
v5.3.0
- Replace elliptic with ethereum-cryptography/secp256k1
- Bump ethers to ^6.6.0
- Optimize argument validation for createToken, updateToken and applyForSR
- callValue can be 0 when the contract constructor is payable
- Support shouldPollResponse to customize poll times (#368)
- Support TIP541 by transactionBuilder.cancelUnfreezeBalanceV2
- Support TIP542 by adding a parameter in transactionBuilder.delegateResource
- Support estimate the energy used in contract deployment by transactionBuilder.deployConstantContract
v5.1.1
v5.2.0
- Support build transactions locally with protobuf
- Support multi-sign for setAccountId, updateBrokerage, clearABI, updateAccountPermissions function in transactionBuilder lib
v5.1.0
- Add
freezeBalanceV2
,unfreezeBalanceV2
,delegateResource
,undelegateResource
andwithdrawExpireUnfreeze
function in transactiobBuiler lib to support stakeV2 - Support
tronWeb.transactionBuilder.estimateEnergy
to estimate energy for triggersmartcontract transaction - Add
getDelegatedResourceV2
,getDelegatedResourceAccountIndexV2
,getCanDelegatedMaxSize
,getAvailableUnfreezeCount
andgetCanWithdrawUnfreezeAmount
function to query account resource info