# 合约

## 部署交易

1. 选择部署合约的账户，点击账户【部署调用】按键进入合约界面。
2. 输入合约代码字节码，接收地址留空，输入账户密码。
3. 预估交易费，点击【部署】，等待交易完成。

## 调用合约

1. 选择部署合约的账户，点击账户【部署调用】按键进入合约界面。
2. 输入合约方法字节码，接收地址输入合约地址，输入账户密码。
3. 预估交易费，点击【调用】，等待交易完成。

## 查看合约

1. 选择与合约同片账户，点击账户【查看合约】显示查看合约面板。
2. 输入合约方法字节码，合约地址。
3. 点击【放大键】，看result返回的结果。

## 字节码

参考开发文档中的合约使用流程如何使用Remix生成部署、调用、查看的字节码。

## 预估交易费

如果点击合约字节码，再点击别处交易费会根据字节码框内内容更新。因此，如果用户先输入字节码，再输入密码，预估的交易费上限的更新就会自动完成，不需要额外的动作。


---

# 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://seeletech.gitbook.io/wiki/cn/qian-bao/he-yue.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.
