Skip to main content
Version: 6.0.3

getDelegatedResourceAccountIndexV2

Query which accounts have delegated resources to other accounts under the V2 interface. (v5.1.0 new interface)

Usage

tronWeb.trx.getDelegatedResourceAccountIndexV2(address, options)

Parameters

ParametersParameter DescriptionData Type
addressaccount address (base58 or hex)String
optionsOptional. Default is { confirmed: true }. If options.confirmed is true, the result is queried from solidity node.{ confirmed: boolean }

Return

Object

Example

await tronWeb.trx.getDelegatedResourceAccountIndexV2('TMVQGm1qAQYVdetCeGRRkTWYYrLXuHK2HC');
> {
"account": "TMVQGm1qAQYVdetCeGRRkTWYYrLXuHK2HC",
"toAccounts": [
"TDvSsdrNM5eeXNL3czpa6AxLDHZA9nwe9K"
]
}