---
title: "Add the liquidity operation."
method: POST
path: "/v1/brc20-swap/add_liq"
tags: ["BRC20-Swap"]
---

# Add the liquidity operation.

`POST /v1/brc20-swap/add_liq`

## Request body

- object
  - `address` string, required
  - `tick0` string, required
  - `tick1` string, required
  - `amount0` string, required — Input amount of tick0
  - `amount1` string, required — Input amount of tick1
  - `lp` string, required
  - `slippage` string, required
  - `ts` number, required — Timestamp (seconds)
  - `sig` string, required — User signature

## Response `200`

Default Response

- object
  - `code` number, required
  - `msg` string, required
  - `data` object, required
    - `id` string — Function id
    - `rollupInscriptionId` string — The rollup inscription id where the function is located
    - `address` string
    - `type` string
    - `tick0` string
    - `tick1` string
    - `amount0` string, required — Input amount of tick0
    - `amount1` string, required — Input amount of tick1
    - `lp` 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)
