post https://api.shasta.trongrid.io/wallet/getdelegatedresource
Returns all resources delegations during stake1.0 phase from an account to another account. The fromAddress can be retrieved from the GetDelegatedResourceAccountIndex API.
Returns
delegatedResource - List: A list of resources that an address delegates to a target address. A DelegatedResource object contains the following fields:
| Field | Type | Description |
|---|---|---|
| from | string | delegate account |
| to | string | resource receiving account |
| frozen_balance_for_bandwidth | int64 | bandwidth delegate share |
| frozen_balance_for_energy | int64 | energy delegate share |
| expire_time_for_bandwidth | int64 | Deadline of this delegate bandwidth's lock period |
| expire_time_for_energy | int64 | Deadline of this delegate energy's lock period |