> For the complete documentation index, see [llms.txt](https://relationlabs.gitbook.io/relation-graph/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://relationlabs.gitbook.io/relation-graph/g-zh/api/mutual-contract-interaction.md).

# 共同交互合约

## <mark style="color:blue;">GET</mark> /api/v1/mutualContractInteraction

* 说明：通过这个 API，你可以验证或查询两个或两个以上的账号或地址之间的共同交互过的智能合约地址列表。
* Header

| Field  | Type   | Required | Remarks                                                                   |
| ------ | ------ | -------- | ------------------------------------------------------------------------- |
| ApiKey | String | true     | 从管理员获取的 [ApiKey](/relation-graph/g-zh/api/mutual-contract-interaction.md) |

* Request Parameters

| Field   | Type | Required | Remarks     |
| ------- | ---- | -------- | ----------- |
| address | List | true     | EOA Address |

* Request Example

```shell
curl  GET 'https://api.relationlabs.ai/api/v1/mutualContractInteraction?address=0x9bd286ef4e3d9ec1af6c6ae9da2f0b3617deab13,0x1ac286ef4e3d9ec1af6c6ae9da2f0b3617deab22' \
--header 'ApiKey: <ApiKey>'
```

* Response Parameters

| Field | Type   | Remarks |
| ----- | ------ | ------- |
| code  | String | 返回码     |
| desc  | String | 返回信息    |
| data  | List   | 数据      |

* Response Body

```json
{
  "code": "0",
  "desc": "success",
  "data": [
    "0x1111",
    "0x2222",
    "0x3333"
  ]
}
```

* Return Code

| code | desc    | Remarks                           |
| ---- | ------- | --------------------------------- |
| 0    | success | the flag for a successful request |


---

# 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:

```
GET https://relationlabs.gitbook.io/relation-graph/g-zh/api/mutual-contract-interaction.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.
