--- title: withdrawExpireUnfreeze description: "Build an unsigned transaction to withdraw unstaked TRX back to the account after the network's N-day unfreeze waiting period under Stake 2.0." keywords: ["withdrawexpireunfreeze", "transactionbuilder", "withdraw unstaked trx", "stake 2.0", "unfreeze", "tronweb"] --- # withdrawExpireUnfreeze After performing the operation of canceling the stake, the user need to call this interface to retrieve resources after waiting for `N` days. `N` is a TRON network parameter. (v5.1.0 new interface) ## Usage ``` javascript const transaction = await tronWeb.transactionBuilder.withdrawExpireUnfreeze(address); ``` ## Parameters | Parameters | Description | Type | | -------------- | ---------------------------------------- | ------- | | address | refund account address (base58 or hex) | String | |options|Permission id for multi-signature and block header for contract block header info. | `{ permissionId: number, blockHeader: ... }` | ## Returns Unsigned transaction object. ## Example ``` javascript const transaction = await tronWeb.transactionBuilder.withdrawExpireUnfreeze('TMVQGm1qAQYVdetCeGRRkTWYYrLXuHK2HC'); ```