---
title: "Create a deposit psbt to be signed by the user."
method: GET
path: "/v1/brc20-swap/create_deposit"
tags: ["BRC20-Swap"]
---

# Create a deposit psbt to be signed by the user.

`GET /v1/brc20-swap/create_deposit`

## Request

- Base URL: `https://open-api.unisat.io`
- URL: `https://open-api.unisat.io/v1/brc20-swap/create_deposit`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/unisat/apis/unisat-wallet-openapi/docs/v1/brc20-swap/create_deposit/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `inscriptionId` string, required
- `pubkey` string, required
- `address` string, required

## Response `200`

Default Response

- object
  - `code` number, required
  - `msg` string, required
  - `data` object, required
    - `psbt` string
    - `type` string: Direct or matching
    - `expiredTimestamp` number
    - `recommendDeposit` string

---

[API](https://skmtc.dev/unisat/apis/unisat-wallet-openapi.md) - [All operations](https://skmtc.dev/unisat/apis/unisat-wallet-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/unisat/apis/unisat-wallet-openapi/revisions/68de350419c7?raw)
