--- title: getDelegatedResourceV2 --- # getDelegatedResourceV2 Query the resources that an account delegates to another account under the V2 interface. (v5.1.0 new interface) ## Usage ```js tronWeb.trx.getDelegatedResourceV2(fromAddress, toAddress, options) ``` ## Parameters | Parameters | Parameter Description | Data Type | |-------------|-----------------------------------------------|-----------| | fromAddress | resource from account address (base58 or hex) | String | | toAddress | resource to account address (base58 or hex) | String | | options | Optional. Default is `{ confirmed: true }`. If `options.confirmed` is `true`, the result is queried from solidity node. | `{ confirmed: boolean }` | ## Return Object - Delegated resource information, see the example below. ## Example ```js await tronWeb.trx.getDelegatedResourceV2('TMVQGm1qAQYVdetCeGRRkTWYYrLXuHK2HC', 'TDvSsdrNM5eeXNL3czpa6AxLDHZA9nwe9K'); // output-start { "delegatedResource": [ { "from": "TMVQGm1qAQYVdetCeGRRkTWYYrLXuHK2HC", "to": "TDvSsdrNM5eeXNL3czpa6AxLDHZA9nwe9K", "frozen_balance_for_bandwidth": 10000000 } ] } // output-end ```