GetDelegatedResource

POST: http://172.104.51.182:16667/wallet/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:

  • 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": "WRSrWnjsK5ePhAVQGHr2JSFdKSjE3vKwE7", "toAddress": "WFzFXoQCgUeoApjejKM9B46NgFGHXvUyKz", "visible" : true }

Input:

{ "fromAddress": "WRSrWnjsK5ePhAVQGHr2JSFdKSjE3vKwE7", "toAddress": "WFzFXoQCgUeoApjejKM9B46NgFGHXvUyKz", "visible" : true

}

response:

{}

Last updated