# 主流购买Gas

购买 Gas 是本次跨链桥升级的重要功能之一。可以直接通过跨链桥跨链购买Gas，当然也可以购买当前主链Gas。

![](/files/-MgoclQQ5xUsY2AemjJU)

下面演示一下目标链购买Gas。

当前处于Heco网络上，我们想为OKExChain上的当前账户购买Gas。

输入20，点击购买。

进入授权界面

![image](/files/-MgoclQRt42lKVDq1UPs)

授权成功，即可以提交交易。

提交完成交易，进入记录页面，就可以跟踪整个过程：

![](/files/-MgoclQSjAYDdQ16lRgQ)

共分成三个状态：

1、待处理，就是网关已经扫描到跨链记录，等待处理。

2、处理中，表示正在校验和转账。

3、已完成，就是网关扫描到了成功的记录。给予展示。

![](/files/-MgoclQTb3U4vb6q5G7J)

购买记录目前请在相应链的区块浏览器上直接查看。

这是目标链和当前链不同的情况，目标链和当前链相同，操作流程一样，也能实现Gas购买，就相当于一个简单的兑换操作。

值得一提的有两点：

1. 所有的兑换操作，都是通过去中心化交易所的路由实时购买的，HyperBridge本身不维护交易流动性。
2. 需要收取跨链手续费，比如20 USDT，实际上用于购买Gas的 USDT 只有19.9 USDT, 0.1 USDT 被用做了跨链手续费。如下图所示：

![](/files/-MgoclQUQ0tr0ptbTUnO)


---

# 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://docs.hg.network/hyperbridge/kua-lian-gou-mai-gas.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.
