unfreezebalancev2.
legacy unstake works only for legacy freezesOn mainnet, new legacy freezes are disabled. You can only use
wallet/unfreezebalance if your account still has legacy‑frozen balance. For v2 staking, use wallet/unfreezebalancev2.Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
owner_address— the address that owns the frozen TRX to unfreeze (hex format)resource— the resource type to release (“BANDWIDTH” or “ENERGY”)receiver_address— optional address that was receiving the resources. Omit to unfreeze to yourself. If provided, it must be different fromowner_address.visible— optional boolean to specify address format (default: false for hex format)
Response
visible— boolean indicating address format usedtxID— transaction ID hashraw_data— raw transaction data objectraw_data_hex— hexadecimal representation of raw transaction data
Use case
Thewallet/unfreezebalance method is used for:
- Unstaking TRX to make tokens transferable again (legacy method).
- Releasing bandwidth or energy resources that are no longer needed (legacy method).
- Supporting older applications that still use the original unstaking mechanism.
- Migrating from the deprecated unstaking system to the new
unfreezebalancev2method.
curl examples
unfreeze to yourself (omitreceiver_address):
Shell
Shell
if you pass For the current staking model, use
receiver_address equal to owner_address, the node returns:wallet/unfreezebalancev2. After the v2 waiting period ends, withdraw with wallet/withdrawexpireunfreeze.Body
application/json
Available options:
BANDWIDTH, ENERGY Optional. Address that was receiving the resources. Omit to unfreeze to yourself. Must not equal owner_address.