---
title: "Gets the history of swap."
method: GET
path: "/v1/brc20-swap/swap_history"
tags: ["BRC20-Swap"]
---

# Gets the history of swap.

`GET /v1/brc20-swap/swap_history`

## Query parameters

- `address` string
- `tick` string
- `start` number, required
- `limit` number, required

## Response `200`

Default Response

- object
  - `code` number, required
  - `msg` string, required
  - `data` object, required
    - `total` number
    - `list` object[]
      - `tickIn` string, required — Input tick
      - `tickOut` string, required — Output tick
      - `amountIn` string, required — The amount of input tick
      - `amountOut` string, required — The amount of output tick
      - `exactType` string
      - `ts` number

---

[API](https://skmtc.net/unisat/apis/unisat-wallet-openapi.md) · [All operations](https://skmtc.net/unisat/apis/unisat-wallet-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unisat/unisat-wallet-openapi/revisions/68de350419c7/schema)
