# 转换器

转换器是把一种类型的数据转换为另一类型的数据的一个快捷功能。当你需要处理有着多种不同数据格式的智能合约时，这个功能十分好用。莱卡为你提供了内置的数据转换器作为帮手。

截止文档编辑，可用的转换器有：

* 哈希转换器
  * keccak256
  * ripemd10
  * sha256
  * sha512
* 单位转换器(Wei ↔ Gwei ↔ Ether)
* 数字进制转换器 (Decimal ↔ Hexadecimal)
* 以太坊域名服务解析器（Address ↔ ENS）

使用转换器，请转到工作区的右侧窗格并单击 ⇄ 图标（双箭头）

![](/files/b7gju1tg1CL3RvulmniO)

&#x20;Converter 菜单会打开，您可以在其中使用 Choose Converter 下拉菜单为您的应用程序选择所需的转换器。

![](/files/ZMZlwifU6gZ5wJhesn2d)

只需将您的输入放在input字段中，然后单击 Convert ，莱卡就会为您完成工作。


---

# 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.getlaika.app/docs/docs-cn/ji-chu/lai-ka-ying-yong/zhuan-huan-qi.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.
