--- title: getCanDelegatedMaxSize --- # getCanDelegatedMaxSize Query the maximum value of an account's delegated resources (BANDWIDTH, ENERGY) that can be operated on DelegateResource under the V2 interface. (v5.1.0 new interface) ## Usage ```js tronWeb.trx.getCanDelegatedMaxSize(address, resource,options); ``` ## Parameters | Parameters | Parameter Description | Data Type | |------------|---------------------------------------------|-----------| | address | account address (base58 or hex) | String | | resource | resource type, optional `BANDWIDTH` or `ENERGY` | String | | options | Optional. Default is `{ confirmed: true }`. If `options.confirmed` is `true`, the result is queried from solidity node. | `{ confirmed: boolean }` | ## Return Object - An object including the maximum value of an account's delegated resources (BANDWIDTH, ENERGY) that can be operated on DelegateResource under the V2 interface. ## Example ```js await tronWeb.trx.getCanDelegatedMaxSize('TMVQGm1qAQYVdetCeGRRkTWYYrLXuHK2HC','BANDWIDTH'); // output-start { "max_size": 100000000 } // output-end ```