---
title: "Build transactions to create pool of the given asset pair"
method: POST
path: "/v1/dex/pool"
tags: ["DEX"]
---

# Build transactions to create pool of the given asset pair

`POST /v1/dex/pool`

## Request body

- ApiDexPoolCreationRequest
  - `user_wallet` string, required
  - `asset_1` string, required
  - `asset_2` string, required
  - `asset_1_amount` string, required — Absolute value
  - `asset_2_amount` string, required — Absolute value

## Response `200`

Transactions to be sent

- ApiDexPoolCreationResponse
  - `transactions` ApiTransactionResponse[], required
    - `query_id` integer, required
    - `message` ApiTransactionBoc, required
      - `payload_cell` string, base64, required — Base64-encoded cell. Treated as a payload field in TonConnect transaction.
      - `address` string, required
      - `value` string, int128, required — Amount of nanotons to be sent. Can be passed to TonConnect transaction.
      - `state_init` string, base64 — Base64-encoded cell. Treated as a stateInit field in TonConnect transaction.
      - `extra` ApiExtraCurrency[]
        - `id` integer, required
        - `amount` string, int128, required

## Other responses

- `default` — Some error during request processing

---

[API](https://skmtc.net/swap/apis/swap-coffee-api.md) · [All operations](https://skmtc.net/swap/apis/swap-coffee-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/swap/swap-coffee-api/revisions/2d1b51b5df52/schema)
