Skip to main content

/walletsolidity/getdelegatedresourceaccountindexv2 REST API Endpoint

In Stake2.0, the resource delegation index for an account yields two lists of addresses. One list corresponds to the addresses that have received resource delegation from the account (toAddress), while the other list pertains to the addresses that have delegated resources to the account (fromAddress).

Updated on
Oct 4, 2023

/walletsolidity/getdelegatedresourceaccountindexv2 REST API Endpoint

Body Parameters

value
string
REQUIRED
The account address from which the resources are delegated, encoded in hexString
visible
boolean
A boolean value indicating whether the address is in base58 format

Returns

account
The account address
fromAccounts
The list of account addresses which delegate resource to this account
toAccounts
The list of account addresses which receive resources delegated by this account
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getdelegatedresourceaccountindexv2 \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"value": "TPswDDCAWhJAZGdHPidFg5nEf8TkNToDX1",
7
"visible": true
8
}
9
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free