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
fromAddress
string
toAddress string
toAddress
visible boolean
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/getdelegatedresourcearrow-up-right --header 'Accept: application/json' --header 'Content-Type: application/json' --data '{ "fromAddress": "ARSrWnjsK5ePhAVQGHr2JSFdKSjE3vKwE7", "toAddress": "AFzFXoQCgUeoApjejKM9B46NgFGHXvUyKz", "visible" : true }
Input:
{ "fromAddress": "ARSrWnjsK5ePhAVQGHr2JSFdKSjE3vKwE7", "toAddress": "AFzFXoQCgUeoApjejKM9B46NgFGHXvUyKz", "visible" : true
response:
{}
Last updated 9 months ago