> For the complete documentation index, see [llms.txt](https://api-zh.stridecross.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-zh.stridecross.com/ji-ben-shuo-ming.md).

# 基本说明

> 本文档主要用来说明部分接口中要注意的一些事项以及更详细的接口说明、具体接口入参、出参信息等

### 📌 认证与安全说明 (Authentication)

本套 API 不需要申请或在请求头（Header）中携带标准的 `API Key`、`AccessToken` 或 `Token`。

为了识别请求来源并提供定制化服务，您只需要在部分请求的常规参数（详见具体接口）中传入 `sourceflag` 参数即可。

* 什么是 sourceflag？ `sourceflag` 是由我们双方提前约定好的一段固定字符串。为了便于识别和管理，通常建议使用您的“项目名称”（例如：trustwallet、metamask）。
* 如何获取？ 在项目对接前，请与我们的技术支持或商务人员确认该字符串。

{% hint style="info" %}
**本文档请求代码示例均使用Axios**
{% endhint %}

{% embed url="<https://www.npmjs.com/package/axios>" %}

### 合约地址

{% hint style="info" %}
目前StrideCross支持以下链上的任意币兑换，以下是各条链的合约地址
{% endhint %}

1. btc主网合约地址：bc1q0fycgp9sta5a2m9weh4y4nc8u257l33p5tzykc
2. bsc主网合约地址：0x04d6f7027ae7ce52654aa21bfb67802f0c9ea303
3. eth主网合约地址：0x04d6f7027ae7ce52654aa21bfb67802f0c9ea303
4. polygon主网合约地址：0x04d6f7027ae7ce52654aa21bfb67802f0c9ea303
5. arbitrum主网合约地址：0x04d6f7027ae7ce52654aa21bfb67802f0c9ea303
6. avalanche主网合约地址：0x04d6f7027ae7ce52654aa21bfb67802f0c9ea303
7. optimism主网合约地址：0x04d6f7027ae7ce52654aa21bfb67802f0c9ea303
8. tron主网合约地址：THrUA7FojKa8ypwJ77mQZUc23RADWeUVCx


---

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://api-zh.stridecross.com/ji-ben-shuo-ming.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
