Skip to main content

/wallet/getdelegatedresourcev2 REST API Endpoint

In Stake2.0, query the detail of resource share delegated from fromAddress to toAddress.

Updated on
Oct 4, 2023

/wallet/getdelegatedresourcev2 REST API Endpoint

Body Parameters

fromAddress
string
REQUIRED
The resource from address, encoded in hexString
toAddress
string
REQUIRED
The resource to address, encoded in hexString
visible
boolean
A boolean value indicating whether the address is in base58 format

Returns

from
The owner address
to
The recipient address
frozen_balance_for_bandwidth
The amount of TRX staked for bandwidth delegated from from address to to address
frozen_balance_for_energy
The amount of TRX staked for energy delegated from from address to to address
expire_time_for_bandwidth
The Lock-up period deadline for bandwidth delegation
expire_time_for_energy
The Lock-up period deadline for energy delegation
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getdelegatedresourcev2 \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"fromAddress": "FROM_ADDRESS",
7
"toAddress": "TO_ADDRESS",
8
"visible": true
9
}
10
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free