---
updatedAt: 2026-09-08T10:21:01.000Z
agentTools:
  projectIndex: https://cn.developers.tron.network/llms.txt
---

# GetDelegatedResourceAccountIndex

查询 Stake 1.0 中所有代理给指定账户的源地址索引（fromAddress 列表）。

## 相关资源

* [GetDelegatedResource](https://cn.developers.tron.network/reference/getdelegatedresource) —— 查询某 from-to 对的详细代理记录
* [GetDelegatedResourceAccountIndexV2](https://cn.developers.tron.network/reference/getdelegatedresourceaccountindexv2-1) —— Stake 2.0 版本，同时返回入向 + 出向索引
* [资源代理](https://cn.developers.tron.network/docs/delegation) —— 代理记录的存储模型

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "全节点 HTTP API",
    "version": "4.8.0"
  },
  "servers": [
    {
      "url": "https://api.shasta.trongrid.io",
      "description": "Shasta 测试网"
    },
    {
      "url": "https://nile.trongrid.io",
      "description": "Nile 测试网"
    },
    {
      "url": "https://api.trongrid.io",
      "description": "TRON 主网（真实资产）"
    }
  ],
  "components": {
    "schemas": {
      "NodeHttpBusinessError": {
        "title": "错误信息",
        "type": "object",
        "description": "请求处理发生异常时，java-tron 可能随 HTTP 200 返回此格式；具体错误信息位于 `Error` 字段。",
        "required": [
          "Error"
        ],
        "properties": {
          "Error": {
            "type": "string",
            "description": "java-tron 返回的错误信息。"
          }
        },
        "examples": [
          {
            "Error": "Invalid request parameters."
          }
        ],
        "additionalProperties": false
      },
      "ToAccounts": {
        "type": "string[]",
        "description": "接收该账户代理资源的账户地址列表。"
      },
      "FromAccounts": {
        "type": "string[]",
        "description": "向该账户代理资源的账户地址列表。"
      }
    }
  },
  "security": [
    {}
  ],
  "paths": {
    "/wallet/getdelegatedresourceaccountindex": {
      "post": {
        "summary": "GetDelegatedResourceAccountIndex",
        "description": "查询 Stake 1.0 阶段某账户的资源代理情况，即列出所有向该账户代理了资源的地址。",
        "operationId": "getdelegatedresourceaccountindex",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "string",
                    "description": "被查询的账户地址，格式为 Base58 或十六进制。",
                    "default": ""
                  },
                  "visible": {
                    "type": "boolean",
                    "description": "可选。设为 `true` 时地址以 Base58 格式返回；设为 `false` 时以十六进制格式返回。（默认值：`false`）",
                    "default": "false"
                  }
                },
                "required": [
                  "value"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "请求正常完成时，响应体为接口返回结果；请求处理发生异常时，HTTP 状态仍可能为 200，此时仅返回包含 `Error` 字段的错误信息。",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "title": "返回结果",
                      "not": {
                        "type": "object",
                        "required": [
                          "Error"
                        ]
                      },
                      "type": "object",
                      "properties": {
                        "account": {
                          "type": "string",
                          "description": "账户地址。"
                        },
                        "fromAccounts": {
                          "$ref": "#/components/schemas/FromAccounts"
                        },
                        "toAccounts": {
                          "$ref": "#/components/schemas/ToAccounts"
                        }
                      }
                    },
                    {
                      "$ref": "#/components/schemas/NodeHttpBusinessError"
                    }
                  ]
                },
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```