> For the complete documentation index, see [llms.txt](https://support.cregis.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.cregis.com/cregis-wallet-guide/zh-cn/4.-waas-xiang-mu/ton.md).

# 于API接入TON链

首先按以下图示在钱包内配置好 TON 货币。

<figure><img src="https://2287475285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSdMhazXkh30OBfLly0nW%2Fuploads%2FmWfzlo9WF3i5whW6SnDm%2Fimage.png?alt=media&amp;token=9c9abcbe-14ae-406a-afb8-9347b542d10a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2287475285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSdMhazXkh30OBfLly0nW%2Fuploads%2FwJJN3Q8ra6m1d3VYYIvk%2Fimage.png?alt=media&amp;token=b4aaca1f-afec-4089-ab5c-423aa56b8a9b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2287475285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSdMhazXkh30OBfLly0nW%2Fuploads%2FYGEREFHm4CgvEwgLaoIz%2Fimage.png?alt=media&amp;token=036c0333-bc21-4b74-a595-7bd5cd23b5e1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2287475285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSdMhazXkh30OBfLly0nW%2Fuploads%2FuyIQgUVbWPdnVURKMmu4%2Fimage.png?alt=media&amp;token=31039921-fcb9-4587-9687-46a606bfaca1" alt=""><figcaption></figcaption></figure>

在项目内进入 TON 地址页面。

<figure><img src="https://2287475285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSdMhazXkh30OBfLly0nW%2Fuploads%2F4Cl3cwiA35y8i3p8XL7z%2Fimage.png?alt=media&amp;token=8b2f6224-4123-4b61-9b31-b002cbed1b0b" alt=""><figcaption></figcaption></figure>

新增地址並進行相關配置

<figure><img src="https://2287475285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSdMhazXkh30OBfLly0nW%2Fuploads%2FtsI2yx3cTEyr1HUxnunW%2Fimage.png?alt=media&amp;token=ceea018b-3972-4f31-be78-68e64bb66986" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2287475285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSdMhazXkh30OBfLly0nW%2Fuploads%2FPWYb0sGV6MS7oBexNejz%2Fimage.png?alt=media&amp;token=51181635-6f02-45d4-b689-ae9838697dec" alt=""><figcaption></figcaption></figure>

<mark style="color:green;">**请注意地址创建后需要进行地址激活，您可以往该地址转入一笔TON再转出去。如没有激活的情况下直接往该地址充值代币，API将不会回调。**</mark>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.cregis.com/cregis-wallet-guide/zh-cn/4.-waas-xiang-mu/ton.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
