UnfreezeBalanceV2

Unstake some TRX staked in Stake2.0, release the corresponding amount of bandwidth or energy, and voting rights (TP)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Unlock the TRX staked at the Stake 2.0 stage through this interface. After unstaking, the user needs to wait for 14 days before calling the /wallet/withdrawexpireunfreeze interface to withdraw the funds of this unstaking.

When executing unstaking, if there is a previously unstaked funds that has passed the lock-up period, then this unstaking operation will also withdraw the unstaked funds that has passed the lock-up period to the account at the same time. You can query the amount of funds withdrawn in this transaction through gettransactioninfobyid API.

Returns

Transaction object - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is UnfreezeBalanceV2Contract, the fields contained in raw_data.contract[0].parameter.value in the transaction are as follows:

FieldTypeDescription
owner_addressstringTransaction initiator address.
resourcestringType of resource. (Enum: BANDWIDTH, ENERGY)
unfreeze_balanceint64Amount of TRX to unstake. (Unit: sun)
Body Params
string
required

Owner address, in Base58Check format or HEX format.

int64
required

Amount of TRX to unstake. (Unit: sun)

string
required

Type of resource. (Enum: "BANDWIDTH" or "ENERGY")

int32

Optional. Permission ID used for multi-signature.

boolean
Defaults to false

Optional. Set to true to format addresses in Base58Check; set to false for hex format. (Default: false)

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json