> For the complete documentation index, see [llms.txt](https://docs.tronsave.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tronsave.io/chinese/developers.md).

# Developers

- [开发者快速开始](https://docs.tronsave.io/chinese/developers/quickstart.md): 完成你的第一次 TronSave API 调用 — 获取密钥、预估、购买并确认一笔能量订单，大约只需 10 分钟。
- [身份认证](https://docs.tronsave.io/chinese/developers/authentication.md): TronSave 如何对 API 请求进行身份验证 — 内部账户、API 密钥和签名交易。
- [环境与网络](https://docs.tronsave.io/chinese/developers/environments.md): TronSave 的两个 API 环境——主网和 Nile 测试网——以及如何在它们之间切换。
- [错误与速率限制](https://docs.tronsave.io/chinese/developers/errors-and-rate-limits.md): TronSave API 返回的速率限制、HTTP 状态码和错误负载。
- [API 参考](https://docs.tronsave.io/chinese/developers/api-reference.md): TronSave REST API — 基础 URL、身份验证、版本管理、响应封装，以及指向每个端点分组的链接。
- [购买资源](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources.md): 通过 TronSave API 购买能量和带宽的两种方式——签名交易或 API 密钥——以及如何在二者之间进行选择。
- [签名交易](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources/signed-tx.md): 通过提交签名的 TRON 交易购买能量或带宽——预估费用、获取签名交易，然后创建订单。
- [预估 TRX](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources/signed-tx/estimate-trx.md): 在创建签名交易订单之前，预估购买指定数量和租赁时长的能量或带宽所需的 TRX。
- [获取签名交易](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources/signed-tx/get-signed-transaction.md): 为资源订单生成已签名的 TRX 支付交易——既可以使用你自己的代码，也可以通过 TronSave 的 Get Signed Transaction API 实现。
- [创建订单](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources/signed-tx/create-order.md): 提交一笔已签名的 TRON 交易以创建资源订单 — 签名交易购买流程的第 3 步。
- [API 密钥](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources/api-key.md): 使用 TronSave API 密钥和预充值的内部账户购买能量或带宽——无需对每笔订单进行链上签名。
- [获取账户信息](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources/api-key/get-account-info.md): 获取与你的 TronSave API 密钥关联的内部账户信息，包括余额和充值地址。
- [获取订单簿](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources/api-key/get-order-book.md): 使用 TronSave API 密钥进行身份验证，获取当前能量或带宽订单簿及其可用报价和价格。
- [预估 TRX](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources/api-key/estimate-trx.md): 使用你的 TronSave API 密钥，预估在选定的租赁时长内购买给定数量能量或带宽所需的 TRX。
- [创建订单](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources/api-key/create-order.md): 使用 API 密钥创建能量或带宽购买订单，从你的 TronSave 内部账户付款，并获得用于追踪订单状态的 orderId。
- [获取订单详情](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources/api-key/get-order-details.md): 使用订单的 orderId 获取特定订单的详细信息和当前状态。
- [订单历史](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources/api-key/order-history.md): 获取与你的 TronSave API 密钥关联的内部账户的订单历史，支持分页和状态筛选。
- [列出订单](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources/api-key/list-orders.md): 使用 TronSave API 密钥进行身份验证，检索由已加入白名单的买家账户创建的订单的详细分页列表。
- [月度统计](https://docs.tronsave.io/chinese/developers/api-reference/buy-resources/api-key/monthly-stats.md): 获取买家账户最近 6 个月的月度交易统计数据。需要已加入白名单的 API 密钥。
- [延长订单](https://docs.tronsave.io/chinese/developers/api-reference/extend-orders.md): 通过两个步骤延长现有的 TronSave 订单（v2）——先获取可延长的代理，然后提交由 API 密钥或签名交易支付的延长请求。
- [获取可延长的代理](https://docs.tronsave.io/chinese/developers/api-reference/extend-orders/get-extendable-delegates.md): 查询某个订单，找出哪些代理（委托）符合延期条件、需要花费多少 TRX，以及在第 2 步中传递给延期请求的 extendData 负载。
- [延长请求](https://docs.tronsave.io/chinese/developers/api-reference/extend-orders/extend-request.md): 为现有的 TronSave 订单提交续期请求——使用你的 API 密钥（内部账户）或签名交易进行支付——并获取 orderId。
- [出售资源](https://docs.tronsave.io/chinese/developers/api-reference/sell-resources.md): 通过将活跃买单与已签名的链上代理交易进行撮合，在 TronSave 上手动出售能量或带宽。
- [快速充值](https://docs.tronsave.io/chinese/developers/api-reference/fast-charge.md): 在一个流程中为多个地址购买能量——预估成本、创建订单、跟踪匹配，然后确认以回收未使用的能量并退还差额。
- [预估 TRX](https://docs.tronsave.io/chinese/developers/api-reference/fast-charge/estimate-trx.md): 在创建快速充值订单之前，使用你的 API 密钥和已预充值的内部账户，预估创建订单所需的 TRX。
- [创建订单](https://docs.tronsave.io/chinese/developers/api-reference/fast-charge/create-order.md): 在单个请求中创建一个或多个快速充电（Fast Charge）订单，为一组接收地址租赁能量，使用你的 TronSave API 密钥进行身份验证。
- [追踪订单](https://docs.tronsave.io/chinese/developers/api-reference/fast-charge/track-order.md): 通过订单 ID 查询一个或多个 Fast Charge 订单的撮合状态。
- [确认请求](https://docs.tronsave.io/chinese/developers/api-reference/fast-charge/confirm-request.md): 确认已完成的快速充能订单，以结束能量租赁、回收未使用的能量，并触发将 TRX 退款到你的内部账户。
- [取消订单](https://docs.tronsave.io/chinese/developers/api-reference/fast-charge/cancel-order.md): 使用你的 API 密钥取消一个或多个尚未匹配的待处理快充订单。
- [获取历史](https://docs.tronsave.io/chinese/developers/api-reference/fast-charge/get-history.md): 检索您的 Fast Charge 订单历史记录，按创建时间排序，并可选地按时间范围和分页进行过滤。
- [MCP 服务器](https://docs.tronsave.io/chinese/developers/api-reference/mcp.md): TronSave MCP 服务器 —— 通过 Streamable HTTP 让 AI 智能体驱动 TronSave 的身份验证、订单、定价和代理(委托)工作流。
- [SDK](https://docs.tronsave.io/chinese/developers/sdk.md): TronSave 官方 SDK，用于在 TRON 上购买和管理能量与带宽 — 支持 TypeScript、Rust、Python、Java 和 PHP。
- [代码示例](https://docs.tronsave.io/chinese/developers/code-examples.md): 通过 TronSave API 购买和延长能量与带宽的端到端、可复制粘贴的代码示例。
- [v2 — 使用私钥购买](https://docs.tronsave.io/chinese/developers/code-examples/buy-with-private-key.md): 通过 TronSave v2 API 使用钱包私钥对支付交易进行签名，购买能量或带宽的完整可运行示例。
- [v2 — 使用 API 密钥购买](https://docs.tronsave.io/chinese/developers/code-examples/buy-with-api-key.md): 一个完整、可运行的示例，使用 API 密钥购买能量或带宽，并轮询订单直至其完成，提供 JavaScript、Python 和 PHP 三种语言版本。
- [v2 — 使用私钥延长](https://docs.tronsave.io/chinese/developers/code-examples/extend-with-private-key.md): 一个完整的可运行示例，演示如何通过用你的私钥在本地构建的签名交易来支付费用，从而延长现有的资源代理（委托）。
- [v2 — 使用 API 密钥延长](https://docs.tronsave.io/chinese/developers/code-examples/extend-with-api-key.md): 完整可运行的示例,演示如何使用 API 密钥延长已有的 TronSave 订单,提供 JavaScript、PHP 和 Python 版本。
- [v0 — 使用私钥购买](https://docs.tronsave.io/chinese/developers/code-examples/buy-with-private-key-1.md): 使用你自己的私钥签名 TRX 交易，通过 TronSave v0 API 购买能量的完整可运行示例。
- [v0 — 使用 API 密钥购买](https://docs.tronsave.io/chinese/developers/code-examples/buy-with-api-key-1.md): 完整的 v0 示例——使用 API 密钥购买能量，涵盖从检查订单簿到轮询履约的全过程，提供 JavaScript、Java、Ruby 和 PHP 版本。
- [v0 — 使用 API 密钥延长](https://docs.tronsave.io/chinese/developers/code-examples/extend-with-api-key-1.md): 完整的 v0 示例，展示如何使用 API 密钥延长资源订单。
- [旧版 API (v0)](https://docs.tronsave.io/chinese/developers/legacy-api-v0.md): 旧版 TronSave REST API v0 — 为现有集成保留。新项目应使用 v2。
- [购买 — 签名交易](https://docs.tronsave.io/chinese/developers/legacy-api-v0/signed-tx.md): 使用签名交易购买能量的旧版 v0 流程 —— 预估 TRX、生成签名转账并创建订单。
- [购买 — API 密钥](https://docs.tronsave.io/chinese/developers/legacy-api-v0/api-key.md): 用于通过 API 密钥购买能量的旧版 v0 REST 端点——账户信息、订单簿、TRX 预估、创建订单、订单详情、订单历史以及钱包激活。
- [延长](https://docs.tronsave.io/chinese/developers/legacy-api-v0/extend.md): 使用 API 密钥延长 TronSave 资源代理的 v0 旧版流程 —— 先检查可延长的代理，然后创建延长请求。
- [更新日志](https://docs.tronsave.io/chinese/developers/changelog.md): TronSave API 的版本历史与重大变更。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tronsave.io/chinese/developers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
