Releases: tronprotocol/tronweb
Releases · tronprotocol/tronweb
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
v5.0.0
- Add
tronWeb.utils.transaction
lib to serialize and deserialize transaction - Add
tronWeb.utils.transaction.txJsonToPb
function to convert transaction json to protobuf - Add
tronWeb.utils.transaction.txPbToTxID
function to get txID from transaction protobuf - Support new transaction builder
createAccount
v4.4.0
- Support
createRandom
andfromMnemonic
function - Add
tronWeb.utils.message
lib, which includeshashMessage
,signMessage
andverifyMessage
- Add
signMessageV2
andverifyMessageV2
intronWeb.trx
lib which can support plain text signature and verification - Add
size
filter for event watch
v4.3.0
v4.2.0
v4.1.0
- add
encodeParamsV2ByABI
anddecodeParamsV2ByABI
functions intronWeb.utils.abi
lib - support abi v2 for
triggerSmartContract
,createSmartContract
,call
andsend
method - update
validator
to version 13.7.0 - update
axios
to version 0.24.0 - update discord group link
v4.0.1
- set _isConstant as true for call method
- ignore max feeLimit check
- change git repository url
v4.0.0
- support
broadcastHex
method - ignore fullnode version check when calling
createToken
method - update dependencies version
- add strict mode for
pkToAddress
method - note that bignumber.js is updated to v9.0.1, which is a breaking change. If you get a result after triggerConstantContract or call method, do not use tronWeb.BigNumber(result) which will get null. You can use tronWeb.toBigNumber(result) or tronWeb.BigNumber(result._hex)