30 Compute Units.
Parameters
value- String - Account address, default hexStringvisible- Boolean - Optional. Specifies whether the address is in Base58 format (default: false).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
30 Compute Units.
value - String - Account address, default hexStringvisible - Boolean - Optional. Specifies whether the address is in Base58 format (default: false).| Field | Type | Description |
|---|---|---|
| account | string | Account address |
| fromAccounts | string[] | The list of addresses that have delegated resources to the account |
| toAccounts | string[] | The list of addresses the account has delegated its resources to |
// Result
{
"account": "TPswDDCAWhJAZGdHPidFg5nEf8TkNToDX1",
"fromAccounts": [
"TLUork4tLoGaH7jWAiuKH1w82C11111111",
"TJFZXfUVjoyh7qc3ZsnfmsxGfnPvxQVFVf",
"TLdZoaud5dYS9Jd9uDdvgHYcU8rR8WSsem"
]
}
curl https://mainnet.tron.validationcloud.io/v1/<YOUR_API_KEY_HERE>/wallet/getdelegatedresourceaccountindexv2 \
-X POST \
-H "Content-Type: application/json" \
-d '
{
"value": "TPswDDCAWhJAZGdHPidFg5nEf8TkNToDX1",
"visible": true
}
'