v3

latestOpenAPI 3.0.32026-07-21128192192.7 KB
Strategies

Get pre-built transaction for strategy order creation

post/v1/strategies/{address}/order

Path parameters

addressstring required
Example:UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV

Headers

x-verifystring required

TON proof for the given address

Request body

type'limit' | 'dca' | 'vca' required
input_amountstring required
settingsApiJson required
max_subordersinteger required
max_invocationsinteger required

Max amount of swaps to be potentially executed (including those that fail to reasons like slippage tolerance abortion)

slippagenumber double required
referral_namestring

May be set whilst building transactions from B2B partnership products

Example request

{
  "token_from": {
    "blockchain": "ton",
    "address": "native"
  },
  "token_to": {
    "blockchain": "ton",
    "address": "native"
  },
  "referral_name": "tonkeeper"
}

Response

Transaction to be sent

payload_cellstring base64 required

Base64-encoded cell. Treated as a payload field in TonConnect transaction.

addressstring required
valuestring int128 required

Amount of nanotons to be sent. Can be passed to TonConnect transaction.

state_initstring base64

Base64-encoded cell. Treated as a stateInit field in TonConnect transaction.

Example response

{
  "address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez"
}