# 请求能量

> #### 接口地址（GET请求） <a href="#jie-kou-di-zhi" id="jie-kou-di-zhi"></a>

```
https://api.trxenergy.cc/user/getEnergy
```

> 请求参数

<table><thead><tr><th width="109.20001220703125">参数名称</th><th width="103.800048828125">类型</th><th>说明	</th><th>示例</th></tr></thead><tbody><tr><td>apikey</td><td>String</td><td>您的 key(联系客服获取)</td><td>kvk8wjxxxxR@yaxxyng1</td></tr><tr><td>address</td><td>String</td><td>接收能量地址</td><td>TVbvtCxxxxxxxxxEANBX3izF9b</td></tr><tr><td>value</td><td>String</td><td>请求笔数（一笔65000）</td><td>1</td></tr></tbody></table>

> #### 返回参数 <a href="#fan-hui-can-shu" id="fan-hui-can-shu"></a>

```
{
	"msg": null,
	"code": 200,
	"data": {
		"amount": "3.50",
		"balance": "12.50",
		"txid": "9f5a8047exxxxxb04215fd399c"
	}
}
```

> 参数解释

<table><thead><tr><th width="112.20001220703125">参数名称</th><th width="94.99993896484375">类型</th><th width="225.2000732421875">说明</th><th>示例</th></tr></thead><tbody><tr><td>code</td><td>int</td><td>200为成功，其他均为失败</td><td>200成功 ，1000参数为空，1001账户不存在 ，1002余额不足，2001链上异常，2003地址异常或未激活，2002系统异常</td></tr><tr><td>msg</td><td>String</td><td>提示信息</td><td>余额不足（Insufficient balance）</td></tr><tr><td>data.amount</td><td>String</td><td>本次消费金额(TRX)</td><td>3.50</td></tr><tr><td>data.balance</td><td>String</td><td>剩余金额(TRX)</td><td>12.50</td></tr><tr><td>data.txid</td><td>String</td><td>代理哈希值</td><td>9f5a8047exxxxxb04215fd399c</td></tr></tbody></table>


---

# Agent Instructions: 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://blog.trxenergy.cc/api-diao-yong/qing-qiu-neng-liang.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.
