Please note that when using this interface, you can unlock the TRX tokens that were staked during the Stake 2.0 stage. After initiating the unstaking process, it's important to be aware that the user must wait for a duration of 14 days before being able to call the /wallet/withdrawexpireunfreeze interface to withdraw the funds associated with this unstaking action. For more information see official docs
Body Parameters
- owner_addressstring
The owner address, encoded in hexString
- resourcestring
The TRX stake type, it can be BANDWIDTH or ENERGY
- unfreeze_balanceinteger
The amount of TRX to unstake
- permission_idinteger
The ID of the permission that is required to execute the transaction
- visibleboolean
A boolean value indicating whether the address is in base58 format
Returns
- visible
A boolean value indicating whether the transaction was successful
- txid
The transaction id
- raw_data
An object that contains the transaction details with the following fields:
- contract
An array of objects containing information about the delegate resource contract
- parameter
An object containing the delegate resource contract parameters
- value
An object containing the values of the delegate resource contract parameters
- resource
The type of resource
- owner_address
The address of the account
- unfreeze_balance
The unfreeze balance
- type_url
The URL of the freeze balance contract type
- type
The type of the freeze balance contract
- ref_block_bytes
The ref block bytes of the transaction
- ref_block_hash
The ref block hash of the transaction
- expiration
This is a timestamp indicating the expiration time of the transaction in milliseconds
- timestamp
This is a timestamp indicating the time at which the transaction was created in milliseconds
- raw_data_hex
The hexadecimal representation of the raw data in the transactio