# GetDelegatedResourceAccountIndex

Query the energy delegation by an account. i.e. list all addresses that have delegated resources to an account.

\
**BODY PARAMS**

`{`

**`value`**` ``string required,`

**`visible`**`  ``boolean optional`

`}`

**Example:**

curl --request POST\
\--url [`http://172.104.51.182:16667/wallet/getdelegatedresourceaccountindex`](http://172.104.51.182:16667/wallet/getdelegatedresourceaccountindex)\
\--header 'Accept: application/json'\
\--header 'Content-Type: application/json'\
\--data ' { "value": "AG1XPM4rwzdcbqcmRhMUvGQ9789nrmniyo", "visible": true }

**Input:**&#x20;

`{ "value": "AG1XPM4rwzdcbqcmRhMUvGQ9789nrmniyo", "visible": true }`

**response:**

`{}`
