curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getdelegatedresource \
--header 'Content-Type: application/json' \
--data '{
"fromAddress": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"toAddress": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",
"visible": true
}'
{
"delegatedResource": [
{
"from": "<string>",
"to": "<string>",
"frozen_balance_for_bandwidth": 123,
"frozen_balance_for_energy": 123,
"expire_time_for_bandwidth": 123,
"expire_time_for_energy": 123
}
]
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getdelegatedresource \
--header 'Content-Type: application/json' \
--data '{
"fromAddress": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"toAddress": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",
"visible": true
}'
{
"delegatedResource": [
{
"from": "<string>",
"to": "<string>",
"frozen_balance_for_bandwidth": 123,
"frozen_balance_for_energy": 123,
"expire_time_for_bandwidth": 123,
"expire_time_for_energy": 123
}
]
}
fromAddress
— the address that delegated resources to another accounttoAddress
— the address that received the delegated resourcesvisible
— optional boolean parameter. When set to true
, addresses are in base58 format. Default is false
.delegatedResource
— array of delegated resource information containing:
from
— the delegator addressto
— the recipient addressfrozen_balance_for_bandwidth
— amount of TRX frozen for bandwidth delegationfrozen_balance_for_energy
— amount of TRX frozen for energy delegationexpire_time_for_bandwidth
— expiration timestamp for bandwidth delegationexpire_time_for_energy
— expiration timestamp for energy delegationwallet/getdelegatedresource
method is used for:
Delegated resource information
The response is of type object
.