---
title: "Get pre-built transaction for strategy order creation"
method: POST
path: "/v1/strategies/{address}/order"
tags: ["Strategies"]
---

# Get pre-built transaction for strategy order creation

`POST /v1/strategies/{address}/order`

## Path parameters

- `address` string, required

## Headers

- `x-verify` string, required

## Request body

- ApiStrategyOrderCreationRequest
  - `type` 'limit' | 'dca' | 'vca', required
  - `token_from` ApiTokenAddress, required
    - `blockchain` string, required
    - `address` string, required
  - `token_to` ApiTokenAddress, required
    - `blockchain` string, required
    - `address` string, required
  - `input_amount` string, required
  - `settings` ApiJson, required
  - `max_suborders` integer, required
  - `max_invocations` integer, required — Max amount of swaps to be potentially executed (including those that fail to reasons like slippage tolerance abortion)
  - `slippage` number, double, required
  - `referral_name` string — May be set whilst building transactions from B2B partnership products

## Response `200`

Transaction to be sent

- ApiTransactionBoc
  - `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/fd1067547679/schema)
