> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# wallet/getdelegatedresourceaccountindexv2 | TRON

> Reference docs for the wallet/getdelegatedresourceaccountindexv2 JSON-RPC method on the TRON blockchain, available via Chainstack JSON-RPC nodes.

TRON API method that retrieves the delegation index of an account using the Stake 2.0 mechanism, showing all accounts involved in resource delegation relationships.

## Parameters

* `value` — the account address to query for delegation relationships
* `visible` — optional boolean parameter. When set to `true`, addresses are in base58 format. Default is `false`.

## Response

* `account` — the queried account address
* `fromAccounts` — array of accounts that have delegated resources to this account
* `toAccounts` — array of accounts that have received delegated resources from this account

## Use case

The `wallet/getdelegatedresourceaccountindexv2` method is used for:

* Discovering all Stake 2.0 delegation relationships for a specific account
* Building updated resource delegation network graphs
* Analyzing modern delegation patterns and resource flow
* Monitoring accounts involved in Stake 2.0 resource sharing
* Creating comprehensive resource management interfaces for the new staking system


## OpenAPI

````yaml openapi/tron_node_api/getdelegatedresourceaccountindexv2.json post /95e61622bf6a8af293978377718e3b77/wallet/getdelegatedresourceaccountindexv2
openapi: 3.0.0
info:
  title: wallet/getdelegatedresourceaccountindexv2 TRON API
  version: 1.0.0
  description: Get delegated resource account index using Stake 2.0
servers:
  - url: https://tron-mainnet.core.chainstack.com
security: []
paths:
  /95e61622bf6a8af293978377718e3b77/wallet/getdelegatedresourceaccountindexv2:
    post:
      tags:
        - Resource Management
      summary: wallet/getdelegatedresourceaccountindexv2
      operationId: getDelegatedResourceAccountIndexV2
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - value
              properties:
                value:
                  type: string
                  default: TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g
                visible:
                  type: boolean
                  default: true
      responses:
        '200':
          description: Delegated resource account index (Stake 2.0)
          content:
            application/json:
              schema:
                type: object
                properties:
                  account:
                    type: string
                  fromAccounts:
                    type: array
                    items:
                      type: string
                  toAccounts:
                    type: array
                    items:
                      type: string

````