POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
cancelallunfreezev2
wallet/cancelallunfreezev2
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/cancelallunfreezev2 \
  --header 'Content-Type: application/json' \
  --data '{
  "owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
  "visible": true
}'
{
  "visible": true,
  "txID": "<string>",
  "raw_data": {},
  "raw_data_hex": "<string>"
}
TRON API method that cancels all unfreezing operations for an account under the Stake 2.0 mechanism. This allows users to cancel pending unfreeze requests and return resources to the frozen state.
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 account address that wants to cancel all unfreezing operations
  • visible — optional boolean parameter. When set to true, addresses are in base58 format. Default is false.

Response

  • visible — indicates the address format used in the response
  • txID — the transaction hash
  • raw_data — raw transaction data including:
    • contract — array containing the cancel unfreeze contract
    • ref_block_bytes — reference block bytes
    • ref_block_hash — reference block hash
    • expiration — transaction expiration timestamp
    • timestamp — transaction creation timestamp
  • raw_data_hex — hexadecimal representation of the raw transaction

Use case

The wallet/cancelallunfreezev2 method is used for:
  • Canceling all pending unfreeze requests to maintain staked resources
  • Responding to market conditions by keeping resources frozen
  • Managing resource allocation in DeFi protocols
  • Implementing dynamic staking strategies
  • Preventing accidental resource unfreezing
Note: The returned transaction must be signed and broadcast to complete the cancellation.

Body

application/json

Response

200 - application/json

Unsigned cancel all unfreeze transaction

The response is of type object.