> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# wallet/cancelallunfreezev2 | TRON

> TRON API method that cancels all unfreezing operations for an account under the Stake 2.0 mechanism. Use it on TRON via Chainstack.

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.

## 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.


## OpenAPI

````yaml openapi/tron_node_api/cancelallunfreezev2.json post /95e61622bf6a8af293978377718e3b77/wallet/cancelallunfreezev2
openapi: 3.0.0
info:
  title: wallet/cancelallunfreezev2 TRON API
  version: 1.0.0
  description: Cancel all unfreezing operations under Stake 2.0
servers:
  - url: https://tron-mainnet.core.chainstack.com
security: []
paths:
  /95e61622bf6a8af293978377718e3b77/wallet/cancelallunfreezev2:
    post:
      tags:
        - Staking
      summary: wallet/cancelallunfreezev2
      operationId: cancelAllUnfreezeV2
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - owner_address
              properties:
                owner_address:
                  type: string
                  default: TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g
                visible:
                  type: boolean
                  default: true
      responses:
        '200':
          description: Unsigned cancel all unfreeze transaction
          content:
            application/json:
              schema:
                type: object
                properties:
                  visible:
                    type: boolean
                  txID:
                    type: string
                  raw_data:
                    type: object
                  raw_data_hex:
                    type: string

````