GetDelegatedResource

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

Body params:

  • fromAddress - Energy from address, default hexString

  • toAddress - Energy delegation information

  • visible - Optional, Whether the address is in base58 format.

Request

curl --request POST \
     --url https://tron.api.watchdata.io/wallet/getdelegatedresource \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '
{
     "fromAddress": "419844f7600e018fd0d710e2145351d607b3316ce9",
     "toAddress": "41c6600433381c731f22fc2b9f864b14fe518b322f",
     "visible": true
}
'

Response

{
  "Error": "class java.lang.IllegalArgumentException : Illegal character 0 at 9"
}

Last updated