Query which accounts have delegated resources to other accounts under the V2 interface. (v5.1.0 new interface)
Usage
tronWeb.trx.getDelegatedResourceAccountIndexV2(address)
Parameters
Parameters | Parameter Description | Type |
---|---|---|
address | account address (base58 or hex) | String |
options | optional fields | Object |
Return
Object
Example
>const delegationInfo = await tronWeb.trx.getDelegatedResourceAccountIndexV2('ownerAddress')
> {
"account": "ownerAddress",
"toAccounts": [
"toAddress1"
]
}