> For the complete documentation index, see [llms.txt](https://rwaperp-1.gitbook.io/rwaperp-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rwaperp-1.gitbook.io/rwaperp-docs/rwa-perp-b2b-api/rest-api-reference/funds-and-settlement/get-v1-internal-transfer-history.md).

# get v1 internal transfer history

`GET /v1/internal_transfer_history`

{% hint style="info" %}
**Authentication:** RWA

**Rate limit:** 10 requests per second
{% endhint %}

## Description

API key must has `asset` scope to access this endpoint.

## Parameters

| Name              | Location |    Type | Required | Description                                                                                                                                                                                                  | Example |
| ----------------- | -------- | ------: | :------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- |
| `status`          | query    |  string |    No    | `CREATED`/`PENDING`/`COMPLETED`/`FAILED`                                                                                                                                                                     | —       |
| `start_t`         | query    |  string |    No    | —                                                                                                                                                                                                            | —       |
| `end_t`           | query    |  string |    No    | —                                                                                                                                                                                                            | —       |
| `page`            | query    |  number |    No    | start from 1                                                                                                                                                                                                 | —       |
| `size`            | query    |  number |    No    | —                                                                                                                                                                                                            | —       |
| `side`            | query    |  string |    Yes   | `IN`/`OUT`                                                                                                                                                                                                   | —       |
| `from_account_id` | query    |  string |    No    | —                                                                                                                                                                                                            | —       |
| `to_account_id`   | query    |  string |    No    | —                                                                                                                                                                                                            | —       |
| `main_sub_only`   | query    | boolean |    No    | If True, return only internal transfers between main account and sub accounts. If False, return only internal transfers between main account and other main accounts. If empty, return all transfer history. | —       |

## Responses

### HTTP 200

OK

| Field                                      | Type    | Required | Description                                                           |
| ------------------------------------------ | ------- | :------: | --------------------------------------------------------------------- |
| `success`                                  | boolean |    Yes   | Indicates whether the request was successful. Example: `True`         |
| `timestamp`                                | integer |    No    | Server timestamp in milliseconds. Example: `1702989203989`            |
| `data`                                     | object  |    Yes   | —                                                                     |
| `data.meta`                                | object  |    Yes   | —                                                                     |
| `data.meta.total`                          | integer |    Yes   | Example: `9`                                                          |
| `data.meta.records_per_page`               | integer |    Yes   | Example: `25`                                                         |
| `data.meta.current_page`                   | integer |    Yes   | start from 1 Example: `1`                                             |
| `data.rows`                                | array   |    Yes   | —                                                                     |
| `data.rows[].internal_transfer_request_id` | number  |    No    | Example: `123`                                                        |
| `data.rows[].id`                           | string  |    No    | Unique ID of the internal transfer record. Example: `230707030600002` |
| `data.rows[].token`                        | string  |    No    | Example: `USDC`                                                       |
| `data.rows[].amount`                       | number  |    No    | Example: `555`                                                        |
| `data.rows[].from_account_id`              | string  |    No    | Example: `0x000000`                                                   |
| `data.rows[].to_account_id`                | string  |    No    | Example: `0x000000`                                                   |
| `data.rows[].status`                       | string  |    No    | Example: `FAILED`                                                     |
| `data.rows[].created_time`                 | number  |    No    | Example: `1688699193034`                                              |
| `data.rows[].updated_time`                 | number  |    No    | Example: `1688699193034`                                              |


---

# 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://rwaperp-1.gitbook.io/rwaperp-docs/rwa-perp-b2b-api/rest-api-reference/funds-and-settlement/get-v1-internal-transfer-history.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.
