cancelUnfreezeBalanceV2

Support canceling unstaking in Stake 2.0, which means that users can use this API to cancel unstaking in waiting period time, make the unstaking TRX restaked, and meanwhile help users withdraw the TRX expired waiting period to balance. (v5.3.0 new interface)

Usage

tronWeb.transactionBuilder.cancelUnfreezeBalanceV2(address);

Parameters

ParametersParameter DescriptionType
addressrestake account address (base58 or hex)String

Return

Object

Example

> const transaction = await tronWeb.transactionBuilder.cancelUnfreezeBalanceV2('ownerAddress');