GetDelegatedResource

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

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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)
Body Params
string
required

The queried from account address, in Base58Check format or HEX format.

string
required

The queried to account address, in Base58Check format or HEX format.

boolean
Defaults to false

Optional. Set to true to format addresses in Base58Check; set to false for hex format. (Default: false)

Responses

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