Skip to main content

/wallet/getdelegatedresource REST API Endpoint

Returns all resources delegations (stake1.0) phase from an account to another account.

Updated on
Oct 4, 2023

/wallet/getdelegatedresource REST API Endpoint

Body Parameters

fromAddress
string
REQUIRED
The source address from which the resources are delegated
toAddress
string
REQUIRED
The destination address that receives the delegated resources
visible
boolean
A boolean value indicating whether the address is in base58 format

Returns

from
The delegate account, which is the source account delegating its resources to another account
to
The resource receiving account, which is the destination account receiving the delegated resources from the delegate account
frozen_balance_for_bandwidth
The amount of the delegate's frozen balance specifically allocated for bandwidth resources
frozen_balance_for_energy
The amount of the delegate's frozen balance specifically allocated for energy resources
expire_time_for_bandwidth
The deadline or expiration time for the delegate's delegated bandwidth
expire_time_for_energy
The deadline or expiration time for the delegate's delegated energy
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getdelegatedresource \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"fromAddress": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
7
"toAddress": "TPswDDCAWhJAZGdHPidFg5nEf8TkNToDX1",
8
"visible": true
9
}
10
'
11
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free