Skip to main content
Version: 6.0.3

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 ORGON restaked, and meanwhile help users withdraw the ORGON expired waiting period to balance. (v5.3.0 new interface)

Usage

const transaction = await tronWeb.transactionBuilder.cancelUnfreezeBalanceV2(address);

Parameters

ArgumentDescriptionType
addressRestack account address (base58 or hex)String
optionsOptional. The permission id for multi-signature and block header for contract block header info.{ permissionId: number, blockHeader: ... }

Returns

Unsigned transaction object.

Example

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