0.4.0
feat(core): Add Stake 2.0 related APIs support.
freezebalancev2
: stake TRX to obtain TRON Power (voting rights) and a specified type of resource (bandwidth or energy)unfreezebalancev2
: unstake TRX to release resource obtained and meanwhile TRON Power will be released and all corresponding votes will be revokeddelegateresource
: delegate resource to an addressundelegateresource
: undelegate resource APIwithdrawexpireunfreeze
: API used to withdraw unstaked TRXgetavailableunfreezecount
: Inquiry API for the remaining times of unstakinggetcanwithdrawunfreezeamount
: query the withdrawable balance of a specific timestampgetcandelegatedmaxsize
: query the amount of delegatable resources of a specified resource type for an addressgetdelegatedresourcev2
: query the detail of resource delegated by fromAddress (owner) to toAddress (recipient)getdelegatedresourceaccountindexv2
: query the resource delegation index of an address