Skip to main content
POST
Get pre-built transaction for strategy order creation

Authorizations

X-Api-Key
string
header
required

Headers

x-verify
string
required

TON proof for the given address

Path Parameters

address
string
required
Example:

"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"

Body

application/json
type
enum<string>
required
Available options:
limit,
dca,
vca
token_from
object
required
token_to
object
required
input_amount
string
required
settings
object
required
max_suborders
integer<int32>
required
Required range: 1 <= x <= 255
max_invocations
integer<int32>
required

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

Required range: 1 <= x <= 255
slippage
number<double>
required
Required range: 0 <= x <= 1
referral_name
string

May be set whilst building transactions from B2B partnership products

Example:

"tonkeeper"

Response

Transaction to be sent

payload_cell
file
required

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

address
string
required
Example:

"EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez"

value
string<int128>
required

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

state_init
file

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

extra
object[]