# GetDelegatedResource

Returns all resources delegations from an account to another account. The fromAddress can be retrieved from the GetDelegatedResourceAccountIndex API.

\
**BODY PARAMS**

`{`

**`fromAddress`**` ``string`

**`toAddress`**` ``string`

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

`}`

**Note:**  &#x20;

* **fromAddress**: Energy from address, default hexString
* **toAddress:** Energy delegation information
* **visible**: optional, Whether the address is in base58 format.

**Example:**

curl --request POST\
\--url <http://172.104.51.182:16667/wallet/getdelegatedresource>\
\--header 'Accept: application/json'\
\--header 'Content-Type: application/json'\
\--data '{ "fromAddress": "ARSrWnjsK5ePhAVQGHr2JSFdKSjE3vKwE7", "toAddress": "AFzFXoQCgUeoApjejKM9B46NgFGHXvUyKz", "visible" : true }

**Input:**&#x20;

`{` \
`"fromAddress": "ARSrWnjsK5ePhAVQGHr2JSFdKSjE3vKwE7", "toAddress": "AFzFXoQCgUeoApjejKM9B46NgFGHXvUyKz", "visible" : true`&#x20;

`}`

**response:**

`{}`
