HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

GetDelegatedResource

Returns all resources delegations from an account to another account during stake1.0 phase. The fromAddress can be retrieved from the GetDelegatedResourceAccountIndex API. (Confirmed state)

Log in to see full request history

Returns
delegatedResource - List: A list of resources that an address delegates to a target address. A DelegatedResource object contains the following fields:

FieldTypeDescription
fromstringdelegate account
tostringresource receiving account
frozen_balance_for_bandwidthint64bandwidth delegate share
frozen_balance_for_energyint64energy delegate share
expire_time_for_bandwidthint64Deadline of this delegate bandwidth's lock period
expire_time_for_energyint64Deadline of this delegate energy's lock period
Body Params
string
required
Defaults to TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g

Energy from address, default hexString

string
required
Defaults to TPswDDCAWhJAZGdHPidFg5nEf8TkNToDX1

Energy delegation information

boolean
Defaults to true

Optional. Specifies whether the address is in Base58 format (default: false). Note: Set to true in this example for demonstration purposes.

Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json