> ## 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/getcandelegatedmaxsize | TRON

> TRON API method that retrieves the maximum amount that can be delegated by an account for bandwidth and energy resources. On TRON.

TRON API method that retrieves the maximum amount that can be delegated by an account for bandwidth and energy resources.

## Parameters

* `owner_address` — the account address to query for maximum delegation capacity
* `type` — resource type: 0 for bandwidth, 1 for energy
* `visible` — optional boolean parameter. When set to `true`, addresses are in base58 format. Default is `false`.

## Response

* `max_size` — the maximum amount that can be delegated for the specified resource type

## Use case

The `wallet/getcandelegatedmaxsize` method is used for:

* Determining delegation capacity before attempting resource delegation
* Building user interfaces with delegation limits
* Implementing resource delegation validation
* Planning resource sharing strategies
* Preventing delegation failures due to insufficient capacity


## OpenAPI

````yaml openapi/tron_node_api/getcandelegatedmaxsize.json post /95e61622bf6a8af293978377718e3b77/wallet/getcandelegatedmaxsize
openapi: 3.0.0
info:
  title: wallet/getcandelegatedmaxsize TRON API
  version: 1.0.0
  description: Get maximum delegatable amount for resources
servers:
  - url: https://tron-mainnet.core.chainstack.com
security: []
paths:
  /95e61622bf6a8af293978377718e3b77/wallet/getcandelegatedmaxsize:
    post:
      tags:
        - Resource Management
      summary: wallet/getcandelegatedmaxsize
      operationId: getCanDelegatedMaxSize
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - owner_address
                - type
              properties:
                owner_address:
                  type: string
                  default: TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g
                type:
                  type: integer
                  default: 0
                  description: 0 for bandwidth, 1 for energy
                visible:
                  type: boolean
                  default: true
      responses:
        '200':
          description: Maximum delegatable amount
          content:
            application/json:
              schema:
                type: object
                properties:
                  max_size:
                    type: integer

````