getdelegatedresourceaccountindex - Tron

getdelegatedresourceaccountindex. Returns the list of accounts an address has delegated resources to or from (legacy index).

getdelegatedresourceaccountindex - tron [Value: 20CU]
Returns the list of accounts an address has delegated resources to or from (legacy index).
Use cases

Use cases

  • Also available as GET
  • Discover all counterparties an account has resource-delegation relationships with
Constraints

Constraints

  • Covers the legacy (Stake 1.0) delegation model; use the v2 variant for Stake 2.0
  • Also available under /walletsolidity/ for confirmed (solidified) data instead of the latest state
Get started
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request POST \
     --url https://lb.drpc.live/tron/{API-KEY}/wallet/getdelegatedresourceaccountindex \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"value": "example", "visible": true}'
Copy
Response
200
{
  "account": "41608f8da72479edc7dd921e4c30bb7e7cddbe722e",
  "toAccounts": ["414c8967080d86f3d0e1352a42f9213c7b9dd03b0f"],
  "fromAccounts": []
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersobject
object
valuestring
[Required for GET] The account address to look up
visibleboolean
When true, addresses are base58check strings; when false (default), hex strings

Response

200
Returns the list of accounts an address has delegated resources to or from (legacy index).

Response params

object
accountstring
The queried account's address
toAccountsarray_of_strings
Accounts this address has delegated resources to
fromAccountsarray_of_strings
Accounts that have delegated resources to this address