github tronprotocol/trident 0.4.0

latest releases: 0.11.0, 0.10.0, 0.9.2...
3 years ago

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 revoked
  • delegateresource: delegate resource to an address
  • undelegateresource: undelegate resource API
  • withdrawexpireunfreeze: API used to withdraw unstaked TRX
  • getavailableunfreezecount: Inquiry API for the remaining times of unstaking
  • getcanwithdrawunfreezeamount: query the withdrawable balance of a specific timestamp
  • getcandelegatedmaxsize: query the amount of delegatable resources of a specified resource type for an address
  • getdelegatedresourcev2: query the detail of resource delegated by fromAddress (owner) to toAddress (recipient)
  • getdelegatedresourceaccountindexv2: query the resource delegation index of an address

Don't miss a new trident release

NewReleases is sending notifications on new releases.