HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

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<DelegatedResource>: A list of resources that an address delegates to a target address. A DelegatedResource object contains the following fields:

FieldTypeDescription
fromstringDelegate account address.
tostringResource receiver account address.
frozen_balance_for_bandwidthint64Bandwidth delegate share. (Unit: sun)
frozen_balance_for_energyint64Energy delegate share. (Unit: sun)
expire_time_for_bandwidthint64Timestamp when the Bandwidth delegation lock expires. (Unit: millisecond)
expire_time_for_energyint64Timestamp when the energy delegation lock expires. (Unit: millisecond)
Language
Click Try It! to start a request and see the response here!