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
const transaction = await tronWeb.transactionBuilder.cancelUnfreezeBalanceV2(address);
Parameters
Argument | Description | Type |
---|---|---|
address | Restack account address (base58 or hex) | String |
options | Optional. 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('ownerAddress');