post https://api.shasta.trongrid.io/walletsolidity/getdelegatedresourceaccountindexv2
Stake 2.0 API: query the resource delegation index by an account (confirmed state). Two lists will return, one is the list of addresses the account has delegated its resources(toAddress), and the other is the list of addresses that have delegated resources to the account(fromAddress).
Returns
Field | Type | Description |
---|---|---|
account | string | Account address |
fromAccounts | string[] | The list of addresses that have delegated resources to the account |
toAccounts | string[] | The list of addresses the account has delegated its resources to |