# GetDelegatedResourceAccountIndex

Query the resource delegation by an account during stake1.0 phase. i.e. list all addresses that have delegated resources to an account.

This method will use `30` [Compute Units](/v1/about/billing.md).

***

## **Parameters**

* `value` - String - Address, default hexString
* `visible` - Boolean - Optional. Specifies whether the address is in Base58 format (default: false).

## **Returns**

| Field        | Type      | Description                                                                   |
| ------------ | --------- | ----------------------------------------------------------------------------- |
| account      | string    | account address                                                               |
| fromAccounts | string\[] | A list of account addresses which delegate resource to this account           |
| toAccounts   | string\[] | A list of account addresses which receive resources delegated by this account |

```json
// Result
{
  "account": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g"
}
```

{% tabs %}
{% tab title="mainnet" %}

```bash
curl https://mainnet.tron.validationcloud.io/v1/<YOUR_API_KEY_HERE>/wallet/getdelegatedresourceaccountindex \
    -X POST \
    -H "Content-Type: application/json" \
    -d '
{
  "value": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
  "visible": true
}
'
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.validationcloud.io/v1/tron/tron-full-node-http-api/account-resources/getdelegatedresourceaccountindex.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
